[logback-dev] [qos-ch/logback] 7c5384: Add XML support to en/disable stacktrace package d...
Tony Trinh
tony19 at gmail.com
Thu Apr 2 06:40:43 CEST 2015
Branch: refs/heads/master
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
Commit: 8141f88edb95567c2b42bbc73aa81e9eeb399169
https://github.com/qos-ch/logback/commit/8141f88edb95567c2b42bbc73aa81e9eeb399169
Author: Tony Trinh <tony19 at gmail.com>
Date: 2015-04-01 (Wed, 01 Apr 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:
-----------
Merge pull request #248 from qos-ch/LOGBACK-730
Add XML support to en/disable stacktrace package detail
Compare: https://github.com/qos-ch/logback/compare/33b61881f947...8141f88edb95
More information about the logback-dev
mailing list