Ensure pattern in context.xml is correct

Details

The pattern setting informs Tomcat what information should be logged. At a minimum, enough information to uniquely identify a request, what was requested, where the requested originated from, and when the request occurred should be logged.

Solution

Add the following statement into the $CATALINA_BASEwebappsMETA-INFcontext.xml file if it does not already exist.

Supportive Information

The following resource is also helpful.

This control applies to the following type of system Unix.

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles