How to configure RHEL 6 Tomcat 6 to use log4j for logging

Solution Unverified - Updated -

Issue

  • How do I enable log4j logging for tomcat 6 in RHEL 6?
  • How do I configure RHEL 6 Tomcat 6 to use log4j for logging?
  • I would like to use log4j instead of default juli for tomcat 6 logging in RHEL 6. How do I configure?

Environment

  • Red Hat Enterprise Linux 6
  • Tomcat 6

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
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.