Worked like a charm. Thanks! On Jan 17, 2012, at 6:46 PM, Tony Trinh wrote:
> There's a bug at line 98. You need to use Layout.doLayout(event) instead of > event.getFormattedMessage(). I've commented here. > > On Tue, Jan 17, 2012 at 6:41 PM, Adam Gordon <[email protected]> wrote: > Of course. Code is available here: https://github.com/icfantv/color-logback > > The outcome is that it appears that my encoder completely ignores any of the > pattern stuff. This leads me to believe I'm supposed to call something in my > encoder to do this - I'd assumed that it would happen automatically. > > --adam > > http://gordonizer.com > > > > On Tue, Jan 17, 2012 at 16:21, Tony Trinh <[email protected]> wrote: > On Tue, Jan 17, 2012 at 4:32 PM, Adam Gordon <[email protected]> wrote: > I was missing the <pattern> element. Adding got rid of the error message, > but my output is not being formatted. It's like its ignoring the pattern and > layout. > > > Including your code and complete logback.xml would be most helpful... > What exactly is the outcome? Describe the output (or paste it here). > > --adam > > > _______________________________________________ > Logback-user mailing list > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-user > > > _______________________________________________ > Logback-user mailing list > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-user > > _______________________________________________ > Logback-user mailing list > [email protected] > http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________ Logback-user mailing list [email protected] http://mailman.qos.ch/mailman/listinfo/logback-user
