Tomcat Application Server 9 STIGs require certain patterns to be in the $CATALINA_BASE/conf/server.xml file. Does anyone know if adding those elements will break WHD logging?
It is currently set at:
<Valve className="com.solarwinds.whd.WHDLogger" directory="../../logs"
prefix="whd_access_log" suffix=".log" pattern="%t [%h %S] %H %m %U%Q %s" resolveHosts="false"/>
The STIGs are asking for:
The %t pattern code is included in the pattern element and logs the date and time of the event. (there already)
The %h pattern code is included in the pattern element and logs the remote hostname. (there already)
The %s pattern code is included in the pattern element and logs the server response code associated with the event (there already)
The "%r" pattern code is included in the pattern element and logs the first line associated with the event, namely the request method, URL path, query string, and protocol (""" simply specifies a literal double quote)
The %u pattern code is included in the pattern element and logs the username used to authenticate to an application.