> From: johnrock [mailto:johnpi...@yahoo.com]
> Subject: How to configure Access logs to ignore images
> 
> Checking the ServletRequest for a null attribute, however, 
> does not intuitively appear to be applicable to filtering
> requests that are logged based on file extension.

Perhaps you're interpreting this backwards.  You should be able to write a 
filter that gets called for whatever you don't want logged (*.jpg, *.css, 
etc.), and have that filter set some appropriate attribute in the request, and 
configure that attribute in the AccessLogValve.  Alternatively, have the filter 
called for everything, and set the attribute unless it's an item you do want 
logged.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to