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, tools, and much more.