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

Johann,

bajistaman wrote:
> Is there a way to centrally collect statistics of usage of all of the
> tomcat's farm instances?

How are you distributing the traffic among the Tomcat instances? Cant'
you use a log file from there?

If not, you'll have to either copy log files to a central location, or
rig your loggers to report logging information to a single place.

One idea is to use log4j as your logging mechanism (I'm guessing that
the AccessLogValve or whatever it's called uses the standard logging so
you can set it up to use log4j) and use the syslog appender with a host
other than localhost. Have all your TC instances use syslog to report
logging to one, single system's syslog facility. Then, configure syslog
on that target machine to segregate Tomcat/web log messages to a
particular file.

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

iD8DBQFG4HPt9CaO5/Lv0PARAiSUAKCbYCkMTu5MRiQUxjlnkCp0sNN7RQCgpn7x
7dfdci4NLk3MAB/VxS9rCRU=
=iIKR
-----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