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

Rizwan,

Rizwan Merchant wrote:
> Does that mean that I need to set the value of an attribute in my code,
> and check that value in the valve? That seems intrusive as I have to set
> up my code to handle this.

Well, you could install a simple filter to add this attribute: you don't
have to modify your application's code.

> Let me step back a little. Can you tell me..what if I leave it the way
> it is and let it log everything. Would this slow down the application
> since it will be doing a LOT of writing to the access log file? Or am I
> worrying too much about this?

That depends. Are you observing a performance problem?

> My main reason to log less is so that tomcat is not bogged down because
> of how much it is writing to the access log..

As long as you're not suffering from premature optimization, turning
"down" the access filter will speed things up. Then again, logging is
fast when compared to something like database access. If you have a
relatively heavy application, logging isn't likely to be a big
performance problem.

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

iD8DBQFHKRCl9CaO5/Lv0PARAvrmAJsEDH33EfUhc1z/LIbTWX0E3lNPqACffeZn
ta/y7D1oionLW9PfZnBQ6MQ=
=u6dl
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to