On Mon, Oct 11, 2004 at 06:31:46PM -0400, Simon Zeng wrote: : 1. Would it be better to keep one log for each tomcat instance or all share : the same log?
That depends: if all apps are running in the same container (same JVM), then it's helpful to see everything in one place. You can play Cause-and-Effect as far as how one troublesome app impacts others. : a. If former, how can we conordinate, from application, writting log : information into the one log without conflicting each other and in the right : sequence. I believe the JVM itself takes care of that, though I may be wrong. : b. If latter, is any tools we can easily merge all logs into one (as if it : is one) so we can do statistics. If the logs have timestamps, you can write some creative code that loads, sorts, and merges. The trouble would be catching stack traces. Can you setup log4j with two appenders, one app-specific and the other shared? That would give you both, without the hassles of writing custom tools to split/merge. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNetworX.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]