Understanding Classloaders: log4j in a J2EE Environment
Subject:   log4j in a cluster is an issue?
Date:   2003-04-18 11:10:45
From:   anonymous2
Response to: You still haven't addressed the most important thing....

Hello Vikram,

I have enjoyed both of your articles. I am new to log4j and researching it for use across my company's applications.

We are running WebLogic clustered, so I am wondering what you mean when you say "I agree that log4j in a cluster is an issue"? What are the issues related to clustering??


- darryl

Main Topics Oldest First

Showing messages 1 through 1 of 1.

  • log4j in a cluster is an issue?
    2003-04-21 21:55:18  gvix [View]

    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