Tuesday, February 21, 2006

Turning on tomcat's access log in jboss

Edit the file:

jboss-4.0.3\server\default\deploy\jbossweb-tomcat55.sar\server.xml

Uncomment the following section:

<!-- Access logger -->
<valve classname="org.apache.catalina.valves.FastCommonAccessLogValve" prefix="localhost_access_log." suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log" resolvehosts="false">
</valve>

The log file would be created:

jboss-4.0.3\server\all\log\localhost_access_log.2006-02-21.log

No comments: