Bug 41339

Summary: Javadoc of PatternLayout should use %n in TTCC layout examples
Product: Log4j - Now in Jira Reporter: Martin Burger <m>
Component: OtherAssignee: log4j-dev <log4j-dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: 1.2   
Target Milestone: ---   
Hardware: All   
OS: other   

Description Martin Burger 2007-01-10 06:08:49 UTC
The Javadoc if class PatternLayout gives two examples of conversion patterns:

%r [%t] %-5p %c %x - %m\n

and

%-6r [%15.15t] %-5p %30.30c %x - %m\n

In table "Conversion Character - Effect" you describe the character n that
"outputs the platform dependent line separator character or characters".

But in the examples aboce, you use a non-portable line separator string.
Comment 1 Elias Ross 2007-01-26 17:18:12 UTC
Fixed in SVN trunk
Comment 2 Curt Arnold 2007-01-30 13:25:44 UTC
Committed by eross for log4j/trunk in rev 500445.

Should be reviewed for log4j 1.2.
Comment 3 Curt Arnold 2007-02-22 15:40:18 UTC
Committed in rev 510710 against log4j 1.2 branch.