Enabling DataSource Spy Logging in JBoss EAP 6/7

Solution Verified - Updated -


  • Is it possible to log the executed statements for a managed DataSource?
  • Is there a way to enable spy logging at the DataSource level in EAP6 in order to debug the DataSoruce statistics/queries ?
  • How to verify information related to connections and statements in a datasource?
  • is it possible to monitor the statements send to the database
  • How to log the SQL statements if a datasource connection is used


  • Red Hat JBoss Application Platform (EAP)
    • 6
    • 7

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