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.
Fixed in SVN trunk
Committed by eross for log4j/trunk in rev 500445. Should be reviewed for log4j 1.2.
Committed in rev 510710 against log4j 1.2 branch.