Thanks Chris,
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.
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?
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..
Thanks,
-Riz.
Christopher Schultz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Rizwan,
Rizwan Merchant wrote:
Hi,
I am trying to set up the access valve so that we can analyze our
traffic using the softwares that are out there.
I noticed that when I turn on the access valve, it logs requests for
every little item on the page, all the images etc. Is there a way I can
have tomcat log only one line for every session?
One line for every session? Or one line for the first request processed
by a keepalive connection?
Or is there a way to
exclude requests made for images and certain other types of files?
It looks like the only way to do either of these things is to use the
"condition" attribute of the valve. Check out the docs for that
attribute -- it might give you some ideas.
http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHKPV+9CaO5/Lv0PARAg9UAKC6jZzhQ4+Mqj7ZiE4ln8RaQC9CYACggx1B
RMYXs+J0ZSoFYXdGKxZkU9A=
=xCzU
-----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]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]