Improving robustness of JBoss EAP 6.0.1 syslog logging

Solution Unverified - Updated -

Issue

  • JBoss server stops logging
  • In JBoss EAP 6.0.1 log4j's SyslogAppender can be used to log to syslog, but it has limited recoverability from loss of connection to the backing syslogd. Syslogd downtime may occur routinely as part of log rotation. This article describes a workaround to improve robustness of syslog logging with JBoss EAP 6.0.1.
  • Note: from EAP 6.2 onwards, the JBoss SyslogHandler can be used. SyslogHandler includes provisions for reconnection, and is now the recommended way to handle syslog logging: 268783 | How to use syslog in JBoss EAP 6.

Environment

  • Red Hat JBoss Enterprise Application Platform 6.0.1
  • Red Hat Enterprise Linux 6.4
  • rsyslogd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content