Mike
Shapira, Yoav wrote:
Howdy,
I'm trying to consolidate the access logs for a whole bunch of Tomcatsdo >this seems to be to "patch"
using Spread (www.spread.org) like I do with Apache. The easiest way to
org.apache.catalina.valves.AccessLogValve to >use Spread and I've done
that trivially.
Perhaps it would be better to subclass AccessLogValve to add this
functionality? Then you could contribute your class to the tomcat
project and users of the normal AccessLogValve wouldn't need to know
anything (or depend on) Spread.
somewhat figure out where it came from, but I run into problems when Ihave
multiple Tomcats load-balanced by mod_jk serving the same virtualhosts.
The easiest way then to tell where it came from seems to be to use thecan >use?
jvmRouteId any other, better, more easily obtained, unique identifier I
The combination of host name and jvmRouteId is decent.
Would %A (local IP address) in the access log work for you? I'm
assuming your load-balanced servers have different IP addresses even if
they share the virtual hosts.
Yoav Shapira
Millennium ChemInformatics
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
