title: How do I stop stacktraces truncating in logs
body: <p>Lots of times in Java logs I'll get something like:</p>
  
  <pre><code>Caused by: java.sql.BatchUpdateException: failed batch
      at org.hsqldb.jdbc.jdbcStatement.executeBatch(jdbcStatement.java:1102)
      at org.hsqldb.jdbc.jdbcPreparedStatement.executeBatch(jdbcPreparedStatement.java:514)
      at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:48)
      at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:242)
      ... 113 more
  </code></pre>
  
  <p>Does anyone know how to get the full stacktrace showing (i.e. show the other 113 lines)?</p>
  
  <hr>
  
  <p>The <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29" rel="noreferrer">JavaDocs (for Java 7)</a> for Throwable have a pretty detailed explanation of what's going on.</p>