Bug 42108

Summary: LoggingEvent accessors compatible with log4j 1.3
Product: Log4j - Now in Jira Reporter: Curt Arnold <carnold>
Component: OtherAssignee: log4j-dev <log4j-dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 1.2   
Target Milestone: ---   
Hardware: Other   
OS: other   

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.