-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Leon,

On 3/29/2011 12:57 PM, Leo Donahue - PLANDEVX wrote:
> Where do you initialize the Logger (Filter or Servlet)?

Which logger?

> The servlet 2.5 spec says you can use filters for logging, but since
> I'm not modifying the request or response, is logging from within a
> filter the right approach to logging request parameters?

That depends upon your requirements. What are they?

Note that reading request parameters in a Filter may trigger parsing of
a POST request body which may not be something you want to happen on
every request.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2SQ2QACgkQ9CaO5/Lv0PCkogCfcjmdq3Y2nEboa10pIoqx532R
Wv0An0lqu05E16lGvZNOYBUedUFHAAF3
=VaL5
-----END PGP SIGNATURE-----

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

Reply via email to