> ...or to be more precise, how to write only data (payload) to the log4j
> appender...
>
> I want all the benefits of log4j, but none of the seemingly required
> overhead of ConversionPattern variables. In other words, I want to
> control every single byte that is written, with nothing added by log4j.
log4j.appender.A3.layout.ConversionPattern=%m%n
maybe ?
Arne
Bogus Exception - 09 Nov 2006 18:42 GMT
Arne,
I have no explanation. This works good enough. Thanks!!! I tried this
last night, and got no output. I think I was getting tired and hitting
the same keys over and over!
Why "good enough"? Well, log4j does something strange when I do this.
And by this I mean:
log4j.appender.A3.layout.ConversionPattern=%m%n
In the first line written to the log, the characters start at the first
column. BUT, every subsequent line is written starting at the second
column! I can get around that easily enough!
Thanks again!
BogusException
:)
Arne Vajh?j wrote:
> > ...or to be more precise, how to write only data (payload) to the log4j
> > appender...
[quoted text clipped - 8 lines]
>
> Arne
Daniel Pitts - 10 Nov 2006 00:55 GMT
> Arne,
>
[quoted text clipped - 28 lines]
> >
> > Arne
Perhaps there is whitespace after your %n?