Hi Marteen,

Use %ex instead of %xEx. This can be done by appending %ex to the end
of the pattern used by PatternLayout. In the absence of %ex or %xEx,
%xEx is added by default. In other words, package data is added by
default unless you override by addng %ex.

see also conversion words at http://logback.qos.ch/manual/layouts.html#conversionWord

hth,

Maarten Bosteels wrote:
Hello,

This saves me from explaining why I am not a big fan of
PackagingDataCalculator :-)

Ceki, can it be turned off, or is it turned off by default ?
I did a quick search but couldn't find any documentation.

Thanks,
Maarten


On Tue, May 5, 2009 at 3:28 PM, Roland Klein (JIRA) <[email protected]> wrote:
NoClassDefFoundError in PackagingDataCalculator.loadClass()
-----------------------------------------------------------

                Key: LBCLASSIC-125
                URL: http://jira.qos.ch/browse/LBCLASSIC-125
            Project: logback-classic
         Issue Type: Bug
   Affects Versions: 0.9.15
        Environment: jdk 1.6 (build 1.6.0_10-b33)
jboss 4.2.2ga
           Reporter: Roland Klein
           Assignee: Logback dev list


In an EJB Client/Server Environment the loadClass() method could fail, because 
the vm issues a NoClassDefFoundError. And there is no corresponding catch, so 
the whole logging fails and throws a NoClassDefFoundError.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

--
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch
_______________________________________________
logback-dev mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-dev

Reply via email to