title: Logrotate files with date in the file name
body: <p>I am trying to configure logrotate in RHEL for tomcat6 logs. Currently, logrotate works fine for catalina.out log, it is rotated and compressed properly.</p>
  
  <p>The problem is with the files with date in them like:</p>
  
  <pre><code>catalina.2012-01-20.log
  catalina.2012-01-21.log
  catalina.2012-01-22.log
  </code></pre>
  
  <p>These files are not being rotated. I understand that I have to configure these in /etc/logrotate.d/tomcat6 file where rotation for catalina.out is configured. But I am not able to configure it.</p>
  
  <p>All I want is these older files to be compressed daily, except the current date log file.</p>
  
  <p>Can anybody help me out on this, please!!</p>
  
  <p>Thanks
  Noman A.</p>