Hey Darryl, On Fri, 21 Feb 2020 at 17:15, Darryl Philip Baker < darryl.ba...@northwestern.edu> wrote:
> 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 "%r" %s %b" /> > > > Darryl Baker > Northwestern University > darryl.ba...@northwestern.edu<mailto:darryl.ba...@northwestern.edu> > I may be mistaken, but It seems you are probably trying to make the logging coarser. You can take a look at conf/logging.properties for your tomcat instances to do the adjustments of log levels. Regards, > >