tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat Farm Deployment and Statistics
Date Thu, 06 Sep 2007 21:41:01 GMT
-----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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message