tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Friedman" <ysongl...@gmail.com>
Subject How to get User Access logs in tomcat
Date Wed, 13 Dec 2006 22:03:41 GMT
I've tried to get user access logs like:

---

127.0.0.1 - - [19/Oct/2006:12:38:09 +0800] "GET / HTTP/1.1" 302 - 0.240 -
127.0.0.1 - - [19/Oct/2006:12:38:09 +0800] "GET / HTTP/1.1" 302 - 0.243 -
127.0.0.1 - - [19/Oct/2006:12:38:11 +0800] "GET
/secure/Setup!default.jspa HTTP/1.1" 302 - 1.732
39F9C7F048F7F060A4B9883A7348082D
---



I cannot find such logs in the logs/ directory, what configuation should I
do to have it appears? What plugin should I have? Thanks.
I've tried to add the following to the server.xml files, but it doesn't work

<Valve className="org.apache.catalina.valves.AccessLogValve"
pattern="%h %l %u %t &quot;%r&quot; %s %b %T %S" resolveHosts="false"
/>


Jason.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message