Instead of using ex.printStackTrace(), use the SLF4j Logger method that takes a Throwable.  i.e. change:<div><br></div><div>ex.printStackTrace();</div><div><br></div><div>to:</div><div><br></div><div>log.warn("Bad things afoot",ex);</div>

<div><br></div><div>  (*Chris*)<br><br><div class="gmail_quote">On Wed, May 30, 2012 at 9:19 AM,  <span dir="ltr"><<a href="mailto:Greg.Zoller@aviall.com" target="_blank">Greg.Zoller@aviall.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="sans-serif">Hello,</font>
<br>
<br><font face="sans-serif">Is there a way to configure logback
to rouge Java exceptions to the log file?  I've got all my other messages
going to my desired file successfully but exceptions still go to the console.</font>
<br>
<br><font face="sans-serif">Thanks!<br>
Greg</font>
<br>
<br><font face="sans-serif">"If I had asked my customers what
they wanted, they would have said 'A faster horse'" -- Henry Ford<br>
<br>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _<br>
<br>
This e-mail message, including attachments, may contain confidential, proprietary,
or export controlled information.<br>
Any unauthorized disclosure, distribution, or other use is prohibited,
unless expressly authorized. <br>
If you receive this e-mail in error, please notify the sender, and delete
all copies of the original message from your systems.</font><br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>