[logback-user] Custom appender and layout issue

Adam Gordon adam.n.gordon at gmail.com
Thu Nov 10 05:44:19 CET 2011


Here you go:  git://github.com/icfantv/color-logback.git

Thanks.

--a

adam.n.gordon at gmail.com
http://gordonizer.com



On Nov 9, 2011, at 5:04 PM, ceki wrote:

> 
> 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
> 
> _______________________________________________
> Logback-user mailing list
> Logback-user at qos.ch
> http://mailman.qos.ch/mailman/listinfo/logback-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-user/attachments/20111109/4b3a6130/attachment.html>


More information about the Logback-user mailing list