JBoss web server - logging
By default, the Tomcat request logging seems to be switched off. To turn it on, do the following.
JBoss 4 has Tomcat deployed as a service inside Tomcat, called jbossweb-tomcat55.sar. This can be found in the server/default/deploy directory.
In the root of jbossweb-tomcat55.sar is a server.xml file: you need to activate (uncomment) the valve which does the access logging in order to see the HTTP requests in the appropriate .log file in the log directory.
The relevant valve in server.xml looks something like:
JBoss 4 has Tomcat deployed as a service inside Tomcat, called jbossweb-tomcat55.sar. This can be found in the server/default/deploy directory.
In the root of jbossweb-tomcat55.sar is a server.xml file: you need to activate (uncomment) the valve which does the access logging in order to see the HTTP requests in the appropriate .log file in the log directory.
The relevant valve in server.xml looks something like:
<Valve className="org.apache.catalina.valves.FastCommonAccessLogValve"
prefix="localhost_access_log." suffix=".log"
pattern="common" directory="${jboss.server.home.dir}/log"
resolveHosts="false" />

2 Comments:
I agree wholeheartedly! LOL!
Thanks it helped a lot.
- Kapil
Post a Comment
Subscribe to Post Comments [Atom]
Links to this post:
Create a Link
<< Home