Visa ett inlägg
Oläst 2009-06-01, 23:14 #2
dAEks avatar
dAEk dAEk är inte uppkopplad
Mycket flitig postare
 
Reg.datum: Dec 2006
Inlägg: 678
dAEk dAEk är inte uppkopplad
Mycket flitig postare
dAEks avatar
 
Reg.datum: Dec 2006
Inlägg: 678
Har du testat det som står i dokumentationen? Det verkar vara ganska rakt fram, ser det ut som.

Citat:
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.
http://tomcat.apache.org/tomcat-6.0-doc/co...nfig/valve.html
dAEk är inte uppkopplad   Svara med citatSvara med citat