To answer my own question, it appears that the %nopex layout specifier gives me what I need. And I see that there are other similar options as well.

On 01/30/2013 09:41 AM, Steve Cohen wrote:
Given a configuration with two appenders, one file based and the other
network-based, I would like to be able to code log statements with a
throwable parameter in which the file-based one would append the
stack-trace information contained in the throwable, but the
network-based appender would not.  The network-based appender is
home-brewed, descending from JMSAppenderBase.  Is there a hook in the
appender hierarchy that would allow it to turn off appending of the
stack trace for that appender while letting other appenders print the
stack trace?

Thanks.
_______________________________________________
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

Reply via email to