<span style="font-family:arial, sans-serif;font-size:13px;border-collapse:collapse"><div>Hi, </div><div><br></div><div>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? </div>

<div><br></div><div>My needs are the same as the one posted on stackoverflow:</div><div><a href="http://stackoverflow.com/questions/690431/how-to-configure-log4j-to-dump-debug-info-when-an-error-occurs" style="color:rgb(0, 0, 204)" target="_blank">http://stackoverflow.com/questions/690431/how-to-configure-log4j-to-dump-debug-info-when-an-error-occurs</a></div>

<div><br></div><div>Is there an appender in logback that provides this feature? </div><div><br></div><div><br></div><div>Thanks,</div><div>Satish</div></span>