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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.