Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • That seems indeed legit :-). I'll try that tonight and come back to you with the result! Commented Jan 10, 2018 at 8:11
  • I just tried it but it didn't work. Thinking about it that was expected as it only changes the logging level of the root logger and not the threshold of the appender (which I also tried to change by the way but didn't work either). Thanks for the try though. Commented Jan 12, 2018 at 8:19
  • Not sure what you mean by the threshold of the appender. The appender doesn't have one, except through its configuration for the root logger. Commented Jan 12, 2018 at 8:25
  • There is a threshold parameter for appenders, independent from loggers logging level. It allows log to be different from an appender to another without having to change loggers logging level. For example if you want to log everything in the console but only errors in a file you can configure your appenders with different threshold while not touching your loggers configuration. Commented Jan 12, 2018 at 8:29
  • Ok, got it now. Commented Jan 12, 2018 at 8:34