1 Reply Latest reply on Apr 10, 2008 1:50 AM by jaikiran

    Logging in Jboss - Web access

    denis.chicoine

      Hello,

      I'm new to Jboss and I have a request to analyse web logs from jboss using Urchin. The only logs I found on my system where more Jboss apps related and no user access related.

      Can you please tell how I can acheive my goal ? or which file to lok at ?

      Thanks

      Denis Chicoine

        • 1. Re: Logging in Jboss - Web access
          jaikiran

          Which version of JBoss do you use? For JBoss-4.2.x, edit the server.xml in %JBOSS_HOME%\server\< serverName>\deploy\jboss-web.deployer folder to uncomment the following lines:

          <!-- 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" />
           -->


          For earlier versions of JBoss, you will find the server.xml in %JBOSS_HOME%\server\< serverName>\deploy\jbossweb-tomcatXX.sar folder.