This content has been marked as final.
Show 1 reply
-
1. Re: Access Logs for JBoss?
jaikiran Sep 17, 2007 1:46 AM (in response to tdanecito)Going by your other posts, i believe you are using JBoss4.2.x. If so, then you will have to edit the server.xml file present in %JBOSS_HOME%/server//deploy/jboss-web.deployer folder (this path is slightly different for other versions of JBoss). You will find that the server.xml file has:
<!-- Access logger --> <!-- <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="localhost_access_log." suffix=".log" pattern="common" directory="${jboss.server.home.dir}/log" resolveHosts="false" /> -->
This is currently commented out. Uncomment it and restart JBoss to enable access logging.