-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Konstantin,
On 9/30/2011 2:18 PM, Konstantin Kolinko wrote: > 2011/9/30 Christopher Schultz <ch...@christopherschultz.net>: >> The OP should be able to put the Filter into the <Context> in >> such a way that the Filter wraps the AccessLogValve, no? >> > > 1. You cannot put a Filter into Context. Mmm. Why do I always think that you can do this sort of thing? Maybe I'll log an enhancement that allows us to do this: it seems reasonable to allow Filters to be interspersed with Valves, especially for things like this. > 2. AccessLogValve in Tomcat 7 cannot be wrapped. It does not act as > a true "valve", but more as a marker interface. > > 3. A Valve can modify a Request, while Filter cannot. Both Filter and Valve can wrap the request, which can be seen as "modifying" it, though it's not really modifying it. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6J58kACgkQ9CaO5/Lv0PAQpQCZAUxprioYXm5MQsChC4seTlco +2IAnjnMOjLLPC6qTdFyFfVh6lwOlyKw =0dgS -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org