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