Skip to content

Instantly share code, notes, and snippets.

@rmcdouga
Created June 5, 2023 14:49
Show Gist options
  • Save rmcdouga/25116b8b3ae0aee476ba6f0df39ce0ec to your computer and use it in GitHub Desktop.
Save rmcdouga/25116b8b3ae0aee476ba6f0df39ce0ec to your computer and use it in GitHub Desktop.
Logback file configuration to turn up wiremock debugging. Placed in the src/test/resources directory.
<configuration>
<!-- Turning down the wiremock logging -->
<!-- based on https://stackoverflow.com/questions/44460834/cant-turn-off-debug-logging-for-wiremock -->
<logger name="com.github.tomakehurst.wiremock" level="DEBUG" />
<logger name="wiremock.org" level="DEBUG" />
<logger name="WireMock" level="DEBUG" />
<!-- wiremock has per endpoint servlet logging -->
<logger name="/" level="DEBUG" />
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment