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.
-
cdto the/var/lib/...
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.