The question I have is in regards to the Vantage GMI 14.0 release we have installed. So under our Unix file system there is this directory tree
/usr/app/vantgmi/runtime/apache-tomcat-x.x.x/logs/
with files like this up to the present date
localhost_access_log.2020-08-15.txt
localhost_access_log.2020-08-16.txt
localhost_access_log.2020-08-17.txt
localhost_access_log.2020-08-19.txt
localhost_access_log.2020-08-20.txt
Is there any need to keep so many? Can they be deleted if not?
Release : 14.0
Component : CA Vantage Storage Resource Manager
The Vantage logs in question can be deleted. You can stop the creation of logs with the following update:
Before the logging gets disable, please have a look at the following Tomcat page and check what kind of information gets collected on this log:
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html#Access_Log_Valve
The logging can be disabled in the following way:
Go to /tomcat/conf.
Make a copy of server.xml file.
Change the following line of the server.xml:
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false" />
into:
<!--<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false" /> -->
Restart Tomcat in order to make the change available.
This customization can get lost when you apply a new version of Vantage or a patch that includes a new version of the server.xml file.