How do I log Tomcat output to a remote syslog server?

Updated -

Steps to set up Tomcat to log to syslog via log4j

By default, Tomcat uses the java logging api which does not have a syslog appender. The java logging api will need to be replaced with log4j which does contain an appender to output to syslog.

  1. cd to the /var/lib/...

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