I have taken over the administration of several Tomcat instances. A number of 
these are load balanced using an F5 appliance.  The 
org.apache.catalina.values.AccessLogValve log file is filled with the F5 polls 
to see if the application is alive. Under almost all circumstances these are 
useless, I would like to stop logging just these requests. What is the best way 
to stop these entries being written?  I’ve included a sample of the log entries.

10.0.171.163 - - [21/Feb/2020:09:04:11 -0600] "GET /MySite/isAlive.jsp " 200 112
10.0.171.162 - - [21/Feb/2020:09:04:16 -0600] "GET /MySite/isAlive.jsp " 200 112
10.0.171.163 - - [21/Feb/2020:09:04:16 -0600] "GET /MySite/isAlive.jsp " 200 112
10.0.171.162 - - [21/Feb/2020:09:04:21 -0600] "GET /MySite/isAlive.jsp " 200 112
10.0.171.163 - - [21/Feb/2020:09:04:21 -0600] "GET /MySite/isAlive.jsp " 200 112
10.0.171.162 - - [21/Feb/2020:09:04:26 -0600] "GET /MySite/isAlive.jsp " 200 112

The entry for the log file in server.xml is
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t &quot;%r&quot; %s %b" />


Darryl Baker
Northwestern University
darryl.ba...@northwestern.edu<mailto:darryl.ba...@northwestern.edu>

Reply via email to