[prev in list] [next in list] [prev in thread] [next in thread] 

List:       log4j-user
Subject:    Re: newline within %m text
From:       Don Taylor <donald_l_taylor_jr () yahoo ! com>
Date:       2001-10-31 14:12:14
[Download RAW message or body]

'\n' isn't gauranteed to work for *any* java program. What you need to
do is get the system property 'line.separator' and append that to your
message at the point you want a newline.

-- Don

--- "Johnson, Clay" <clay.johnson@vignette.com> wrote:
> Is there a way to insert a newline character inside the event message
> (%m)
> text?  Inserting '\n' results in non-printable (box) character rather
> than a
> line break.
> 
> --
> To unsubscribe, e-mail:  
> <mailto:log4j-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:log4j-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic