title: Log runtime Exceptions in Java using log4j
body: <p>I am currently building an application using Tomcat, Spring and JAVA.  I am using <code>Log4J</code> as my logging library.  I currently am logging everything to a text file.  One of the issues I'm having is that <code>RuntimeExceptions</code> are not being logged to any files.  I was wondering if there is a way to log all <code>RuntimeExceptions</code> that maybe thrown to my application log file.  If not is it possible to have it log to another log file?  Is there a standard way to do this?  If so is there a standard way to do this when running your application within Tomcat?</p>
  
  <p>Thank you in advance for your help!</p>