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, 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