Issue Type: New Feature New Feature
Affects Versions: 0.9.28
Assignee: Logback dev list
Components: logback-classic
Created: 09/Aug/12 6:02 PM
Description: Logback offers the feature to print stack traces with package data information.
It is possible to turn of the package data information printing with the option "%ex" individual on each appender.
However in our context, the calculation of the package information takes up to ten seconds. As the calculation is synchronously done within the logging-call when the logging event is created, this directly impacts the performance of the caller regardless whether the %ex option is used or not.
If the method setPackagingDataEnabled(false) on the LoggerContext is called, the performance impact vanishes.
Now, instead of "blindly" casting the slf4jLogger into a logbackLogger I suggest to allow turning of this calculation by configuration. This way the dependency on logback in code can be avoided.
Environment: Windows 7, Equinox (OSGi)
Project: logback
Priority: Major Major
Reporter: Guido Schollerer
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira