2011/9/30 André Warnier <a...@ice-sa.com>:
> Pid * wrote:
>>
>> The changes from the Spring security filter can't be seen by the
>> access log valve.
>>
> And is the "why?" left as an exercise to the reader ?
>

Because logging happens after request processing is completed,
and a filter affects only what happens "inside" the filter in the
request handling chain.

The filter wraps request, but log valve sees the original unwrapped request.

If you need to pass this information to the log valve, I'd suggest you
to assign it to a request attribute.

Best regards,
Konstantin Kolinko

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

Reply via email to