How to put an application's name in log messages send from the application in JBoss EAP 6
Issue
- We are trying to include a tag of some sort in our logs for each application that is deployed. With this, when they are sent to our log aggregator, we can determine the application the error or output comes from. There are options to send each app to a different file, but this is sub-optional in a domain environment.
Environment
Red Hat JBoss Enterprise Application Platform (EAP) 6.4
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.
