[logback-user] Filter Throwable from Appender
ldm at gmx.at
Wed Feb 23 14:48:33 CET 2011
%nopex from  did the trick. Thanks!
On 2011-02-23 13:03, Ceki Gulcu wrote:
> Hi Markus,
> Does GuiAppender have an encoder encapsulating a PatternLayout? If so,
> read , in particular the %nopex conversion word. Adding it to the
> pattern you are using should do the trick.
>  http://logback.qos.ch/manual/layouts.html#conversionWord
> On 23.02.2011 12:28, Markus Krainz wrote:
>> I am using two Appenders |ConsoleAppender and my own custom
>> Gui||Appender which extends OutputStreamAppender. This works well.
>> I do not want the GuiAppender to append Stacktraces. So if I do e.g.
>> logger.error("Core: ERROR importing map.\n",ex); the "Throwable
>> ex"-Stacktrace should get to ||ConsoleAppender||but not to
>> I am relatively new to Logback and I appreciate any help with this.
> Logback-user mailing list
> Logback-user at qos.ch
More information about the Logback-user