How to put an application's name in log messages send from the application in JBoss EAP 6

Solution Unverified - Updated -

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.

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