Created
October 5, 2018 09:37
-
-
Save wumpz/ad2e37e4317ade4206e05cb86380a29f to your computer and use it in GitHub Desktop.
Setting root LogBack logger to only Warning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ch.qos.logback.classic.Logger root = (ch.qos.logback.classic.Logger) org.slf4j.LoggerFactory.getLogger(ch.qos.logback.classic.Logger.ROOT_LOGGER_NAME); | |
root.setLevel(ch.qos.logback.classic.Level.WARN); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment