[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

10/22/2009 at 02:16AM PDT, ID: 24833728 | Points: 500
[x]
Attachment Details

How to coherently log with Log4J in a clustered app server environment

Asked by fvo_afb in Java Application Servers

Tags: log4j, cluster, logging, merging

Greetings!

We use log4j in a clustered application server (Glassfish) environment, no problems there.

We would like to monitor our product in a coherent way, meaning we want one view on the log output of the product, regardless on which cluster node events occur. Identifying the event source node however is important.
We currently use the SocketAppender/SocketHubAppender appenders for monitoring.
Having one log file (XML layout) for all nodes in the cluster would be nice too, currently each nodes logs individually.

I have already looked for some kind of log daemon that merges the SocketAppender/SocketHubAppender output, but could not find anything.
I can't believe that we are the first to require the described mechanism, so I hope you can point me to a existing solution or tell me how to do this the 'right' way with log4j.

Thanks!
[+][-]10/22/09 04:58 AM, ID: 25633045

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/23/09 02:32 AM, ID: 25642642

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10/26/09 02:46 AM, ID: 25660732

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10/29/09 09:25 AM, ID: 25695349

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625