[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Access Logs for JBoss?

jaikiran do-not-reply at jboss.com
Mon Sep 17 01:46:13 EDT 2007


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.  

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084888#4084888

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084888



More information about the jboss-user mailing list