Home » Category » BEA/Weblogic

BEA/Weblogic: Weblogic Cluster error logging

302| Thu, 17 Jul 2008 18:33:00 GMT| sreejag| Comments (3)
Hello All,
This may be a dumb question to ask.
Let's say a application is deployed in a BEA cluster. The application runs on two different machines. if an error occurs in the application on one of the machines, that error is logged by Weblogic in its log file.

But how will the developer know which machine to check the log file for?
I mean, is there any mechanism for centralized logging or detecting which machine's log file is to be checked?

I hope i have explained the problem clearly.

Thanks in advance,
Seshu

Keywords & Tags: weblogic, cluster, error, logging, bea

URL: http://software.itags.org/bea-weblogic/274060/
 
«« Prev - Next »» 3 helpful answers below.
Cluster includes one Admin server adn 1+ managed server. If your application is logging the message you need to check the log file from the admin server sience your application gets deployed on the Admin server and not manged server.

hope this clarify your Question
Thanks,
Santosh

santoshmaskar | Thu, 17 Jul 2008 18:34:00 GMT |

If its deployed in a cluster (which spans multiple machines), then the logs are written based on which managed server is invoked. You will have to check the logs on both machines. But if you want the logs to be centralized in one location, then you can either use the socket appenders or the jms appenders to write to a specific location or to send the log events to the queue to be written into a database.
Hope that helps!
Arun
javascript: x()
beerchug

arunnarayanan | Thu, 17 Jul 2008 18:35:00 GMT |

The best solution to keep the log mesaages in Database throuh JDBC Appender using Log-4j.

ankushpurwar | Thu, 17 Jul 2008 18:36:00 GMT |

BEA/Weblogic Hot Answers

BEA/Weblogic New questions

BEA/Weblogic Related Categories