logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ebersole, Steven" <steven.ebers...@vignette.com>
Subject RE: log4j in clustered j2ee environment.
Date Fri, 04 Apr 2003 14:52:17 GMT
Another note, the JMS appender can be problematic if the JMS destination
goes down after the appender has been initialized.  The only way I was able
to get the JMS appenders to work again was to bring down the app server from
which logging was originating.  Ouch ;o)

But you could look at doing something for failover support, like maybe using
an error handler to failover the JMS destination.


    |-----Original Message-----
    |From: Ebersole, Steven [mailto:steven.ebersole@vignette.com]
    |Sent: Friday, April 04, 2003 8:47 AM
    |To: 'Log4J Users List'
    |Subject: RE: log4j in clustered j2ee environment.
    |The two best options for centralized logging from within a 
    |J2EE app will be
    |either the socket-based appenders or the JMS-based 
    |appenders.  Both will let
    |you send the logs to a centralized location and deal with 
    |them there.
    |The JMS approach is reliable because it is using the JMS 
    |protocol, however
    |this reliability comes with a price in terms of the JMS 
    |overhead.  But it is
    |ideal if you need logging to be either transactional or 
    |never-ever lost.
    |The socket approach is faster, bu the best of the socket 
    |approaches (from a
    |j2ee perspective) would be the SocketHub approach which 
    |can drop messages
    |under certain circumstances.
    |It all depends which ones strenghts are the most important 
    |to you....
    |    |-----Original Message-----
    |    |From: shahaji.kadam@orbitech.co.in 
    |    |[mailto:shahaji.kadam@orbitech.co.in]
    |    |Sent: Friday, April 04, 2003 12:17 AM
    |    |To: log4j-user@jakarta.apache.org
    |    |Subject: log4j in clustered j2ee environment.
    |    |
    |    |
    |    |
    |    |Hi,
    |    |
    |    |I want to have centralized logging in J2EE clustered 
    |    |
    |    |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: 
    |    |For additional commands, e-mail: 
    |    |
    |To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
    |For additional commands, e-mail: log4j-user-help@jakarta.apache.org

To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

View raw message