How to enable logging of the JBossManagedConnectionPool

Solution Verified - Updated -

Issue

  • I added the following lines in the jboss-log4j.xml, do I have to do something else to enable trace logging on JBossManagedConnectionPool?
        <category name="org.jboss.resource.connectionmanager.JBossManagedConnectionPool">
          <priority value="TRACE"/>
        </category> 
  • How do I enable logging of the JBossManagedConnectionPool in Enterprise Application Platform (EAP) 5?
  • How to enable TRACE level logging on JCA component in JBoss EAP 5 ?
  • How to monitor data source connection creation times and diagnose how the ManagedConnectionPool utilise on resources ?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 4, 5
  • Red Hat JBoss Data Services 5.3.1
  • Logging level change in <JBOSS HOME>/server/<profile>/conf/jboss-log4j.xml

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