1 Reply Latest reply on Sep 17, 2007 1:46 AM by jaikiran

    Access Logs for JBoss?

    tdanecito

      I have not spotted any type of access logs for JBoss. Is there such a thing? Other app servers have them.

      Thx,
      -Tony

        • 1. Re: Access Logs for JBoss?
          jaikiran

          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.