logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38024] - Layout not compatible between 1.2 and 1.3
Date Wed, 08 Mar 2006 06:41:45 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38024>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38024





------- Additional Comments From carnold@apache.org  2006-03-08 06:41 -------
In rev 384131, restored the PatternLayout.createPatternParser() extension point
and classes org.apache.log4j.helper.PatternParser, PatternConverter and
FormattingInfo needed to support user-provided custom PatternLayouts, but no
longer used by "stock" log4j.  

When using the "stock" PatternLayout, an instance of
org.apache.log4j.pattern.BridgePatternParser is returned by
createPatternParser() which bridges between the old API and the new log4j 1.3
implementation (o.a.l.pattern.PatternParser) which adds new features like
%logger and timezone specifiers.

Custom PatternLayout's will have extended the otherwise unused
o.a.l.helpers.PatternLayout and so will not transparently inherit the new log4j
1.3 features.

See http://marc.theaimsgroup.com/?l=log4j-dev&m=113991484525345&w=2 for a report
from the field from a user who observed the compatibility problem that was
anticipated in the previous comment.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message