title: catalina.out rolling with Tomcat 6.0
body: <p>I have a default tomcat installation with no change to the logging configuration. The log files (in particular catalina.out) appear to be getting rolled (daily) correctly.</p>
  
  <p>However as well as the daily logs there is also a catalina.out file, which just continues to grow. This is what I need to fix, ie have it cleared daily (or remove it altogether if possible)</p>
  
  <p>Can someone explain what is going on here and the best best strategy for controlling that log file size?</p>
  
  <p>Just to clarify the output is being written to catalina.out and the daily log simultaneously</p>
  
  <pre><code>-rw-r--r--  1 solr solr   90920663 Jul 18 01:16 logs/catalina.2009-07-18.log
  -rw-r--r--  1 solr solr     238010 Jul 18 01:16 logs/catalina.out
  </code></pre>
  
  <p>Setting swallowOutput appears to not make any difference.</p>
  
  <p>The application being run under tomcat is solr in case that is relevant.</p>