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
1 Hi,
2
3 I am using tomcat5 on gentoo OS and Sun JDK 1.5.0.12, i dont see any request
4 coming to access log.
5
6 <Host name="testa.example.com" appBase="webapps/foldera"
7 unpackWARs="true" autoDeploy="true" >
8 <Valve className="org.apache.catalina.valves.AccessLogValve"
9 directory="logs" prefix="testa.example_access_log."
10 suffix=".txt"
11 pattern="combined" resolveHosts="false"/>
12 <Context path="usage" docBase="usage" debug="0" priviledged="true"/>
13 </Host>
14
15 <Host name="testb.example.com" appBase="webapps/folderb"
16 unpackWARs="true" autoDeploy="true" >
17 <Valve className="org.apache.catalina.valves.AccessLogValve"
18 directory="logs" prefix="testb.example_access_log."
19 suffix=".txt"
20 pattern="combined" resolveHosts="false"/>
21 <Context path="usage" docBase="usage" debug="0" priviledged="true"/>
22 </Host>
23
24 is that access configuration in server.xml correct ?
25
26 Please suggest
27
28 Thanks and Regards
29
30 Kaushal