We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The default tomcat access logging is pretty limited and does not include user agents. You can change this by updating the lines in server.xml to be:
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log" suffix=".txt" pattern="combined" />
The important part is pattern="combined". This enables user agent logging. The remote IP address logging doesn't seem to work, even after adding
pattern="combined"
<Valve className="org.apache.catalina.valves.RemoteIpValve" />
above the access log valve. More info on access logging here.