https://issues.apache.org/bugzilla/show_bug.cgi?id=49329

--- Comment #2 from Curt Arnold <[email protected]> 2010-05-24 09:29:38 EDT ---
EnhancedPatternLayout in either log4j 1.2.16 or the extras companion for log4j
1.2.15 and earlier, allows you to specify an abbreviation pattern for any names
(logger, class name, etc) as far as I can tell on a quick read, it does
everything described in the article.

http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/EnhancedPatternLayout.html

Change your layout class name from org.apache.log4j.PatternLayout to
org.apache.log4j.EnhancedPatternLayout, change your conversion pattern from %c
to %c{1.} and use log4j 1.2.16 or add the extras companion to the classpath and
you should be good to go.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to