Syslog can be setup to forward messages to a central machine. So each server on the cluster will log to its local syslog daemon, and the local daemons will forward to the mailhosts. I haven't set this up for a while, but I'm sure your local unix sysadmin can help you out if you want to try it. The one advantage here is that syslogd is already running on your unix boxes (probably) so you don't have another server to manage.
-Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 8:49 AM To: [EMAIL PROTECTED] Subject: RE: log4j in clustered j2ee environment. cluster servers are on different machines. how to access syslog on different server ? for socket case is there any performance hit ? -----Original Message----- From: Dave.Tauzell [mailto:[EMAIL PROTECTED] Sent: Friday,April 04, 2003 8:11 PM To: log4j-user Subject: RE: log4j in clustered j2ee environment. I've been expirimenting with this lately. I have tested a couple of options: 1. Use the syslog appender. Syslog can be configured to log to a central server. 2. Use the socket appender and run a socketserver on a central machine. I have also played with setting up the SocketHubAppender and using the modified version of Chainsaw (available via cvs or if you dig around on the net) which can connect to SocketHubAppenders. This option lets you easily view the real-time log stream for a bunch of machines. However, the logs will not be persisted. -Dave -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 12:17 AM To: [EMAIL PROTECTED] Subject: log4j in clustered j2ee environment. Hi, I want to have centralized logging in J2EE clustered environment. Anybody have done this before ? I am trying to understand how it can be done and issues related to it, before i start. what is the impact on performance ? TIA Shahaji --------------------------------------------------------------------- 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] --------------------------------------------------------------------- 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]
