How to create separate log files for different jars of an ear using log4j

Solution Verified - Updated -

Issue

  • We have multiple jar files in our ear and we need separate application logs for them. What are the log4j configuration steps to achieve that ?

Environment

  • JBoss Enterprise Application Platform
    • JBoss EAP 5.1.2

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