How to change Tomcat catalina.out log format?

Solution Verified - Updated -

Issue

  • The human-readable SimpleFormatter is usually sufficient for most scenarios. But it will require searching and processing of log messages. Is there any other formatter available that can be configured for catalina.out logs?
  • Can the catalina logs be set to be in proper UTC time format which shows the time zone data or counts in epoch format?

Environment

  • Red Hat Enterprise Linux (RHEL)
    • Tomcat
  • Red Hat JBoss Web Server (JWS)

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