title: How can I make the log rotation work in Tomcat
body: <p>I just made changes in <code>conf/logging.properties</code> to rotate a log file after a specific time. However, it is not working.</p>
  
  <p>Changes look like:</p>
  
  <pre><code>#.handlers = 1catalina.org.apache.juli.FileHandler, java.util.logging.ConsoleHandler
  .handlers = 1catalina.org.apache.juli.FileHandler
  
  
  
  #1catalina.org.apache.juli.FileHandler.level = FINE
  #1catalina.org.apache.juli.FileHandler.directory = ${catalina.base}/logs
  #1catalina.org.apache.juli.FileHandler.prefix = catalina.
  1catalina.java.util.logging.FileHandler.level = FINE 
  1catalina.java.util.logging.FileHandler.pattern = ${catalina.base}/logs/catalina.%g.log 
  1catalina.java.util.logging.FileHandler.limit = 13107200 
  1catalina.java.util.logging.FileHandler.count = 5 
  1catalina.java.util.logging.FileHandler.formatter =  java.util.logging.SimpleFormatter
  </code></pre>