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

Updated 2019-07-17T17:21:16+00:00

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 content preview. For full access to the Red Hat Knowledgebase, please log in.

Not a subscriber? Learn more about the benefits of Red Hat Subscriptions.