The implementation of WriterAppender is radically different in the CVS
and an appender written as you described will not be compatible with
the next development snapshot (the long awaited 0.9.8)
Unless you have a compelling reason to stay with 0.9.7, I would
strongly suggest that you write your custom appender against the CVS.
In the CVS, all that would be necessary is to overload the appropriate
subAppend method. The appropriate method would depend on where you
would like to intercept the rendering, for example, would you like the
message as an LogString or as a byte array in the specified encoding.
- Problem with WriterAppender Prosenjit Sinha
- RE: Problem with WriterAppender Curt Arnold
- RE: Problem with WriterAppender Prosenjit Sinha
