-->
🏠 🔍
SHAREOLITE

Apache Tomcat Enable Access logs - SOLVED


 
 
For enabling access logs in Apache tomcat web server , following lines need to be un-commented in server.xml configuration file and restart the server process.

 <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="localhost_access_log." suffix=".txt"
                 pattern="common" resolveHosts="false"/>



Logs with file name "localhost_access_log.<date>" will be generated under Tomcat logs directory everyday.
Comments

–>