Hello,

It is my impression that lots of people on this user list are using log4j as
their logging mechanism. Also i believe lots of people here use multiple
tomcat instances for load balancing. I am wondering how you guys are using
log4j in this case. If anyone can give me some ideas and/or answer my
questions below, that will be greatly appreciated.

Thanks,
-Simon

-----Original Message-----
From: Simon Zeng [mailto:[EMAIL PROTECTED]
Sent: Monday, October 11, 2004 6:32 PM
To: 'Tomcat Users List'
Subject: multiple tomcat instance and log4j


Hello,

I have a question here. Our application is running under multiple tomcat
intance. We have our own plan logging mechanism. We are moving to use log4j
to replace in-house one.

1. Would it be better to keep one log for each tomcat instance or all share
the same log?
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.
b. If latter, is any tools we can easily merge all logs into one (as if it
is one)  so we can do statistics.

2. Does log4j caching records in the buffer and flush them to disk once
buffer is full or it write records everytime it receives a log command? If
former, how does it solve the issue when system fails and the cached records
lost?

Thanks,
-Simon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to