Alex
Alex

Reputation: 616

Store log output of many JBoss instances in a single location

I have several machines on Amazon each running a JBoss 4.2.3. Although all JBoss instances serve a single web application they are unaware of each other because they are behind an ELB (Elastic Load Balancer). Now each instance has its own server.log file. Is it possible to store the log output of all instances in a single location? Can this be done through jboss-log4j.xml of JBoss? I would appreciate some recommendations on how such a solution can be implemented.

Regards

Upvotes: 0

Views: 125

Answers (1)

Heiko Rupp
Heiko Rupp

Reputation: 30934

You could use the SyslogAppender in log4j to send the output of all instances to a central syslog daemon on one of your EC2 instances.

Upvotes: 1

Related Questions