Gentoo Archives: gentoo-java

From: Kaushal Shriyan <kaushalshriyan@×××××.com>
To: gentoo-java@l.g.o
Subject: [gentoo-java] no request to access log
Date: Thu, 19 Mar 2009 16:55:07
Message-Id: 6b16fb4c0903190955u29c2118cjb118a4813092bdb7@mail.gmail.com
Hi,

I am using tomcat5 on gentoo OS and Sun JDK 1.5.0.12, i dont see any request
coming to access log.

<Host name="testa.example.com"    appBase="webapps/foldera"
        unpackWARs="true" autoDeploy="true" >
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="testa.example_access_log."
suffix=".txt"
                 pattern="combined" resolveHosts="false"/>
        <Context path="usage" docBase="usage" debug="0" priviledged="true"/>
        </Host>

      <Host name="testb.example.com"    appBase="webapps/folderb"
        unpackWARs="true" autoDeploy="true" >
        <Valve className="org.apache.catalina.valves.AccessLogValve"
                 directory="logs"  prefix="testb.example_access_log."
suffix=".txt"
                 pattern="combined" resolveHosts="false"/>
        <Context path="usage" docBase="usage" debug="0" priviledged="true"/>
        </Host>

is that access configuration in server.xml correct ?

Please suggest

Thanks and Regards

Kaushal