Skip to content

Instantly share code, notes, and snippets.

@wumpz
Created October 5, 2018 09:37
Show Gist options
  • Save wumpz/ad2e37e4317ade4206e05cb86380a29f to your computer and use it in GitHub Desktop.
Save wumpz/ad2e37e4317ade4206e05cb86380a29f to your computer and use it in GitHub Desktop.
Setting root LogBack logger to only Warning
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