You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Abramson, Rami" <ra...@terayon.com> on 2003/01/12 17:53:14 UTC

new line does not appear in log file

Hello,

Have defined a logger with a console-appender and a file-appender.
When a line like the following is logged,
logger.debug( "this is a \n newline test");

in the console the printout gets the new line, in the file it doesn't:
Console:
this is a 
newline test

File:
this is a newline test


Why is that?


	thank you,

              Rami A.
 

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>