How to modify a logging format for Tomcat catalina.log logging file
Issue
- How do I modify a logging format for Tomcat
catalina.loglogging file? -
I specified the following in
/etc/tomcat6/logging.propertiesfor Tomcat 6.x in RHEL 6 but it does not work:java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL %4$s [%3$s] %5$s (%2$s) %6$s%n
Environment
- JBoss Web Server 2.x, 3.x
- RHEL 6
- Tomcat 6.x, 7.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
