I have recently switched logback from log4j and am wondering if there is an easy way to run a logback in debug mode For the property of the same log4j, I need to see where my code is picking up from logback.xml .
To print the internal state of the logback by using the reference of the document StatusPrinter , but for which code changes will be required.
[edit]
this logback 1.0 Has been fixed in .4. Now you can use -Dlogback.debug = true to enable lockback setup debugging.
- Old Reply -
Unfortunately, no one is able to enable debugging through a system property. You can see & lt; Configuration debug = "true" & gt; You must use . Please submit a feature request. logback.xml in
Comments
Post a Comment