You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by blender1968 <ja...@gmail.com> on 2008/11/20 00:33:12 UTC

How to tell Tomcat not to log certain requests?

Hi All,

There are certain requests that I don't want written to the AccessLog.

In Apache (httpd.conf) I can achieve this by:

SetEnvif Remote_Addr [regex] dontlog

CustomLog logs/access_log combined env=!dontlog

How do I achieve the same in Tomcat?

Thanks!

Jason


-- 
View this message in context: http://www.nabble.com/How-to-tell-Tomcat-not-to-log-certain-requests--tp20591961p20591961.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org