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 <adam.n.gordon@gmail.com> wrote:Of course. Code is available here: https://github.com/icfantv/color-logbackThe 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 <tony19@gmail.com> wrote:On Tue, Jan 17, 2012 at 4:32 PM, Adam Gordon <adam.n.gordon@gmail.com> 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
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
_______________________________________________
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user
Logback-user mailing list
Logback-user@qos.ch
http://mailman.qos.ch/mailman/listinfo/logback-user