How to send Tomcat access logs to a remote or local syslog server?

Solution Verified - Updated -

Issue

  • How to send Tomcat access logs to a remote or local syslog server?
  • Is it possible to configure log4j for tomcat access log so that it can be use to send access_log to remote or local syslog server?

Environment

  • Red Hat Enterprise Linux (RHEL) 5,6,7
    • tomcat5
    • tomcat6
    • tomcat7
  • Red Hat JBoss Web Server (JWS) 2, 3, 3.1
    • tomcat6
    • tomcat7
    • tomcat8

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