That's pretty much the default behaviour.

server.xml:

<Valve 
        className="org.apache.catalina.valves.AccessLogValve"
        directory="logs"  
        prefix="access." suffix=".log"
        pattern="common"/>

> -----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...
> 

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

Reply via email to