[logback-user] Configure logback to dump debug info when an error occurs?

Satish Kumar satish.kumar.just.doit at gmail.com
Wed Jan 26 19:01:28 CET 2011


Hi,

We currently use log4j and logging level in our production environment is
set to ERROR, but in some cases having debug messages would help us in
identifying the root causes of the errors.  So wondering if it is possible
to configure logback to dump debug info when an error occurs?

My needs are the same as the one posted on stackoverflow:
http://stackoverflow.com/questions/690431/how-to-configure-log4j-to-dump-debug-info-when-an-error-occurs

Is there an appender in logback that provides this feature?


Thanks,
Satish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20110126/b270306c/attachment.html>


More information about the Logback-user mailing list