New line in message

I am using HTMLLayout in File appender. When I do statement: logger.debug("line1 \r\n line2"); I don't get two lines but one, logger ignores \r\n. How to insert new line into message? -- View this message in context: http://old.nabble.com/New-line-in-message-tp31533911p31533911.html Sent from the Logback User mailing list archive at Nabble.com.

Did you try <br>? On 4 May 2011, at 22:33, moxol <moxbetex@gmail.com> wrote:
I am using HTMLLayout in File appender.
When I do statement: logger.debug("line1 \r\n line2");
I don't get two lines but one, logger ignores \r\n.
How to insert new line into message? -- View this message in context: http://old.nabble.com/New-line-in-message-tp31533911p31533911.html Sent from the Logback User mailing list archive at Nabble.com.
_______________________________________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/listinfo/logback-user
participants (2)
-
David Roussel
-
moxol