How do I log JBoss output to a local or remote syslog server?

Updated -

Here are the steps for logging the output to a remote syslog server:

  1. Edit the log4j.xml file in the conf directory of the server instance. For the default server instance edit the $JBOSS_HOME/server/default/conf/log4j.xml file.

  2. Uncomment the following xml:


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