The logging can be disabled in the following way:
- Go to InstallationDirectoory/tomcat/conf.
- Make a copy of server.xml file.
- Change following line of the server.xml:(if user has Admin Permission then Okay, otherwise the current user has to get the modification permission)
<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.
No comments:
Post a Comment