How to save Apache Tomcat service log messages in RHEL7 to a file

Solution Verified - Updated -

Issue

  • In RHEL 7, the RHEL tomcat package doesn't save all stderr and stdout to catalina.out; instead, it all goes to the systemd journal and /var/log/messages. How can this be captured to a specific file instead?

Environment

  • Red Hat Enterprise Linux 7.x
  • Apache Tomcat 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In