I can speak only of Tomcat 3.3.1.  There you put <AccessLogInterceptor />
in server.xml and you'll get Apache combined logs.  Check the docs for
the other parameters.  One caveat: you don't get logs if the request
doesn't result in output, e.g., certain POST request.  It is fixed in
the dev version 3.3.2.

Michael

> -----Original Message-----
> From: Ralf Bierig [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 23, 2003 2:12 PM
> To: [EMAIL PROTECTED]
> Subject: Logging of individual file access - How?
> 
> 
> I would like to log every file access (defined by its URL) in 
> Tomcat? Is
> there a standard way of doing that? I would like to have a 
> log file which has
> one entry for each file access with timestamp and IP-address...
> 
> -- 
> NEU F�R ALLE - GMX MediaCenter - f�r Fotos, Musik, Dateien...
> Fotoalbum, File Sharing, MMS, Multimedia-Gru�, GMX FotoService
> 
> Jetzt kostenlos anmelden unter http://www.gmx.net
> 
> +++ GMX - die erste Adresse f�r Mail, Message, More! +++
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to