The main ASF Bugzilla instance will be unavailable for 4 hours starting 19.00 UTC 2016-10-29 for an upgrade to 5.0.3
Bug 42108 - LoggingEvent accessors compatible with log4j 1.3
LoggingEvent accessors compatible with log4j 1.3
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other
Other other
: P2 normal
: ---
Assigned To: log4j-dev
Depends on:
  Show dependency tree
Reported: 2007-04-12 15:14 UTC by Curt Arnold
Modified: 2007-04-12 15:21 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2007-04-12 15:14:24 UTC
Chainsaw (and potentially other log4j 1.3 clients) have LoggingEvent.getTimeStamp, 
LoggingEvent.getProperty(Stirng), LoggingEvent.getProperties() etc and other accessors that could be 
supported on log4j 1.2.

Chainsaw and XMLDecoder currently uses LoggingEvent mutators that would require dropping final 
qualifiers on many member variablesto support on log4j 1.2.  Instead of doing that, I've added another 
LoggingEvent constructor that handles the same use pattern to both log4j 1.2 and log4j 1.3 branches.
Comment 1 Curt Arnold 2007-04-12 15:21:22 UTC
log4j 1.3 accessors added to log4j 1.2 branch on rev 528257.

LoggingEvent constructor added to log4j 1.3 branch in rev 528258.