How to create custom handler with the properties using CLI in JBoss EAP 6/7?

Solution Verified - Updated -

Issue

  • How to add properties in custom handler using CLI in JBoss EAP 6.
  • I need to change the handler in this log category entry. I'm having trouble figuring out JBoss CLI to do this is in a domain, using the default profile. Can you show me please?
<logger category="com.mymodule">
    <level name="INFO"/>
    <handlers>
        <handler name="ASYNC"/>
    </handlers>
</logger>
  • The question is about how to changing the handler on a log category, not the level?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x
    • 7.x

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