This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

Adding patterns to the WebHelpDesk Logs

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 &quot;%r&quot; 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 ("&quot;" 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.