We've expanded our news coverage and improved our search! Visit
oreilly.com for the latest or search for all things across O'Reilly!
Article:
 |
|
Understanding Classloaders: log4j in a J2EE Environment
|
| Subject: |
|
log4j in a cluster is an issue? |
| Date: |
|
2003-04-21 21:55:18 |
| From: |
|
gvix
|
Response to: log4j in a cluster is an issue?
|
|
Hi Darryl,
Log4J in a cluster is an issue if you are using FileAppender. The problem arises because of multiple process from multiple machines writing to the same file. Either you need to synchronize these processes by writing a buffer around the FileAppender or use some other appender like the SocketAppender or the JMSAppender.
Best Regards,
Vikram Goyal
|