
10 Nov
2011
10 Nov
'11
12:04 a.m.
It's hard to say without looking at the actual code. Can you place your code in github? -- Ceki http://twitter.com/#!/ceki On 10.11.2011 00:50, Adam Gordon wrote:
That worked. My custom encoder is doing everything I want and more. For some reason, it looks like Logback is calling the doEncode(ILoggingEvent) twice as the log messages are showing up in duplicate. I've modified my XML to use the stock RollingFileAppender and my custom encoder. Any ideas? My encoder is definitely only calling the getFormattedMessage(...) method and writing it to the output stream once. Thanks.
--adam