Bug 42108 - LoggingEvent accessors compatible with log4j 1.3
Summary: LoggingEvent accessors compatible with log4j 1.3
Status: RESOLVED FIXED
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-12 15:14 UTC by Curt Arnold
Modified: 2007-04-12 15:21 UTC (History)
0 users



Attachments

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.