Leon, I tried your conf. It generates two log files access_log.2006-12-13 and access_webapp.2006-12-13.log in the logs/ dir. However, both of them are empty.
Jason. On 12/13/06, Leon Rosenberg <[EMAIL PROTECTED]> wrote:
I think your valve definition misses some attributes: <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="access_webapp." suffix=".log" pattern="common"/> regards Leon On 12/13/06, Jason Friedman <[EMAIL PROTECTED]> wrote: > 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 "%r" %s %b %T %S" resolveHosts="false" > /> > > > Jason. > > --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]