Archive for the Server Category

Logging each & every request at JBoss Server level

January 7, 2012
Logging each & every request at JBoss Server level

  You can get this by uncommenting & replacing the following valve tag inside server.xml of JBOSS located at $JBOSS_HOME/default/deploy/jbossweb-tomcat50.sar/ (path depends on JBoss version) <Valve className="org.apache.catalina.valves.AccessLogValve" prefix="localhost_access_log." suffix=".log" pattern="(%h) %t: %r; Time taken to process the request, in millis – %D; Bytes sent, excluding HTTP headers, or ‘-’ if zero – %b;" directory="${jboss.server.home.dir}/log" resolveHosts="false" [...]

 

If you have a Tip, Comment, Article or anything you want to share, please send it to: i@poisure.com