Re: [logback-user] logback equivalent of %c{1} in log4j?

No problem: http://jira.qos.ch/browse/LBGENERAL-19 ----- Original Message ---- From: Ceki Gulcu <listid@qos.ch> To: logback users list <logback-user@qos.ch> Sent: Thursday, June 5, 2008 8:44:22 AM Subject: Re: [logback-user] logback equivalent of %c{1} in log4j? Hello Arthur, Silvano, Arthur, could you please enter a Jira issue referencing this thread as well as the thread from last year so that this feature can be added in the near future. Is that OK with you? Arthur Blake wrote:
Unfortunately there isn't... I asked the same question almost a year ago:
See http://marc.info/?l=logback-user&m=118426697600168&w=2
----- Original Message ---- From: Silvano Maffeis <silvano@maffeis.com> To: logback-user@qos.ch Sent: Thursday, June 5, 2008 7:42:25 AM Subject: [logback-user] logback equivalent of %c{1} in log4j?
Hi
In my logs I would like to see only the name of the class issuing the log statement, without any package information. In log4j I use %c{1} for that. In logback I tried various patterns, such as %logger{30}, but the best I can get is the abbreviated package name in front of the class name, e.g., something like "c.v.t.s.session.SessionPlugin".
Is there a pattern for getting only the class name without any package information ?
Cheers, Silvano
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user

Thank you. Arthur Blake wrote:
No problem:
http://jira.qos.ch/browse/LBGENERAL-19
----- Original Message ---- From: Ceki Gulcu <listid@qos.ch> To: logback users list <logback-user@qos.ch> Sent: Thursday, June 5, 2008 8:44:22 AM Subject: Re: [logback-user] logback equivalent of %c{1} in log4j?
Hello Arthur, Silvano,
Arthur, could you please enter a Jira issue referencing this thread as well as the thread from last year so that this feature can be added in the near future.
Is that OK with you?
Arthur Blake wrote:
Unfortunately there isn't... I asked the same question almost a year ago:
See http://marc.info/?l=logback-user&m=118426697600168&w=2 <http://marc.info/?l=logback-user&m=118426697600168&w=2>
participants (2)
-
Arthur Blake
-
Ceki Gulcu