hello everyone,

i would like to know if i can exclude some file extensions (for
example: *.gif or *.css ...) in my access logging using Valve Logger

i have read the Apache documentation situated here :

http://tomcat.apache.org/tomcat-5.0-doc/config/valve.html

and in the "Attributes" part i found this :

"condition : Turns on conditional logging. If set, requests will be
logged only if ServletRequest.getAttribute() is null. For example, if
this value is set to junk, then a particular request will only be
logged if ServletRequest.getAttribute("junk") == null. The use of
Filters is an easy way to set/unset the attribute in the
ServletRequest on many different requests."

i have a feeling this should be the thing am looking for but to be
honest i still don dig it how i can make use of it

any clarifications/ examples (how to use it)  would be appreciated

yassine
Greeting from Cologne

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

Reply via email to