Translated message

A translation of this page exists in English.

RHEL で Apache Tomcat サービスのログメッセージをファイルに保存する方法

Solution Verified - Updated -

Issue

  • RHEL では、RHEL tomcat パッケージはすべての stderr と stdout を catalina.out に保存しません。代わりに、すべてが systemd journal と /var/log/messages に保存されます。これを特定のファイルにキャプチャーするにはどうすればよいですか?

Environment

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

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