Hi Markus,
Does GuiAppender have an encoder encapsulating a PatternLayout? If so,
read [1], in particular the %nopex conversion word. Adding it to the
pattern you are using should do the trick.
--
Ceki
[1] http://logback.qos.ch/manual/layouts.html#conversionWord
On 23.02.2011 12:28, Markus Krainz wrote:
Hi,
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 ||Gui||Appender.
I am relatively new to Logback and I appreciate any help with this.
Regards,
Markus
_______________________________________________
Logback-user mailing list
[email protected]
http://qos.ch/mailman/listinfo/logback-user