0 Replies Latest reply on Nov 6, 2012 8:50 AM by Neo Rye

    Tomcat AccessLog enabled by default in server.xml for CF10

    Neo Rye Level 1

      Tomcat AccessLog enabled by default in server.xml could cause issues.



      When this is enabled, all requests to the tomcat server are logged. This results in potentially GB of logged data, especially with busy websites. This could also cause performace issues. If someone is unaware of this, their drives will fill up as there is no cleanup process to clear the log files. This should only be enabled for those needing this functionality or during debugging.


      You'll find them building up in ../runtime/logs






      Find and comment out the logging node in the server.xml for each instance. Restart.
      <-- <Valve pattern="%h %l %u %t &quot;%r&quot; %s %b" directory="logs" prefix="localhost_access_log." className="org.apache.catalina.valves.AccessLogValve" suffix=".txt" resolveHosts="false"></Valve> -->


      submitted as bug: