Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Dave DeVol / Dave DeVol (Dave DeVol)
Created: 11/06/2012
Components: Installation/Config
Versions: 10.0
Failure Type: Incorrect w/Workaround
Found In Build/Fixed In Build: Final / 284775
Priority/Frequency: Major / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 1
Problem Description:Tomcat AccessLog enabled by default in server.xml
Steps to Reproduce:
Actual Result: 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. Since we use IIS, we do our logging there, so this would be redundant anyway. This should only be enabled for those needing this functionality or during debugging.
Expected Result: AccessLog should be disabled by default.
Any Workarounds:
Find and comment out the logging node in the server.xml. Restart instance:
<-- <Valve pattern="%h %l %u %t "%r" %s %b" directory="logs" prefix="localhost_access_log." className="org.apache.catalina.valves.AccessLogValve" suffix=".txt" resolveHosts="false"></Valve> -->
Path to server.xml
Default cfusion instance: /ColdFusion10/cfusion/runtime/conf/server.xml
Instance install: /Coldfusion10/<instancename>/runtime/conf/server.xml
Logs piling up here: ../runtime/logs
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3360555
Keywords:
FixTested
External Customer Info:
External Company:
External Customer Name: Neo Rye
External Customer Email:
External Test Config: My Hardware and Environment details: Windows 2008 R2 and IIS. I suspect that tomcat access logging is enabled for all installations by default.
Attachments:
Comments: