[logback-dev] [qos-ch/logback] 7c5384: Add XML support to en/disable stacktrace package d...
Tony Trinh
tony19 at gmail.com
Sat Mar 7 04:35:56 CET 2015
Branch: refs/heads/LOGBACK-730
Home: https://github.com/qos-ch/logback
Commit: 7c538436fc74e31cd361dccb7e315ea4a2db005a
https://github.com/qos-ch/logback/commit/7c538436fc74e31cd361dccb7e315ea4a2db005a
Author: Tony Trinh <tony19 at gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
Changed paths:
M logback-classic/src/main/java/ch/qos/logback/classic/LoggerContext.java
M logback-classic/src/main/java/ch/qos/logback/classic/joran/action/ConfigurationAction.java
A logback-classic/src/test/input/joran/packageDataDisabled.xml
A logback-classic/src/test/input/joran/packageDataEnabled.xml
M logback-classic/src/test/java/ch/qos/logback/classic/joran/JoranConfiguratorTest.java
M logback-site/src/site/pages/manual/configuration.html
Log Message:
-----------
Add XML support to en/disable stacktrace package detail
Changed the default enable status of packaging info in stacktraces
to be disabled to avoid the expensive lookup unless requested.
Added an XML attribute "packageTrace" to <configuration> in order to
allow enabling or disabling the packaging info in stacktraces. When
the attribute is omitted, the default setting is assumed (disabled).
To enable package detail in logback.xml:
<configuration packageTrace="true">
...
</configuration>
LOGBACK-730
LOGBACK-966
More information about the logback-dev
mailing list