How can I enable the HornetQServerLogger to debug or trace level ?

Solution Unverified - Updated -

Issue

  • Various packages and java classes within Hornetq use HornetQServerLogger.LOGGER. logger, now do I enable these logs in my standalone.xml file?

Example:
org.hornetq.core.server.management.impl.ManagementServiceImpl uses HornetQServerLogger.LOGGER.debug(). How can I configure JBoss so these logs are enabled on startup? I tried by using the category with the packageNameClass, but I couldn't get that working. I also tried:

           <logger category="org.hornetq.core.server.HornetQServerLogger" use-parent-handlers="false">
                <level name="DEBUG"/>
             <handlers>
               <handler name="ASYNC"/>
             </handlers>
           </logger>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.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