Details
Ensure the className attribute is set to AccessLogValve. The className attribute determines the access log valve to be used for logging.
Rationale:
Some log valves are not suited for production and should not be used. Apache recommends org.apache.catalina.valves.AccessLogValve
Solution
Add the following statement into the $CATALINA_BASE/webapps/
directory=’$CATALINA_HOME/logs/’
prefix=’access_log’
fileDateFormat=’yyyy-MM-dd.HH’
suffix=’.log’
pattern=’%h %t %H cookie:%{SESSIONID}c request:%{SESSIONID}r %m %U %s %q %r’
/>
Default Value:
Does not exist by default.
Supportive Information
The following resource is also helpful.
This security hardening control applies to the following category of controls within NIST 800-53: Audit and Accountability.This control applies to the following type of system Unix.