Skip to content

Instantly share code, notes, and snippets.

Created November 8, 2015 16:55
What would you like to do?
Stopping Logging For All Levels In Logback

When you need to tell Logback to stop logging for a logger, the following snippet can be added to logback.xml configuration file:

<logger name="loggerName">
    <level value="off" />

"loggerName" represents your logger name that will be stopped. If you use fully-qualified package name, all of logs coming from that package will be stopped.

Useful Links

Other Logback filters

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment