From: Kevin G. <ke...@go...> - 2003-06-27 15:38:04
|
> can we have extension lines in ConversionPatterns? I just wrote Sure, they've been accepted for a while. You do just about anything log4j.appender.BLA.layout.ConversionPattern=Time: \ %d\ %n\ Host: %H\ %nPID: %P%n%nLevel: %p\ %nSource: %c%n%n\ %m%n Keep in mind if the config is in perl, like in a here-doc, you have to either single-quote it or use double backslashes. And also that the continuation line cleaver eliminates whitespace on continuation lines up to the first whitespace character, so foo\ bar will come out 'foobar', while foo \ bar will come out 'foo bar'. -- Happy Trails . . . Kevin M. Goess (and Anne and Frank) 904 Carmel Ave. Albany, CA 94706 (510) 525-5217 |