Enabling DataSource Spy Logging in JBoss EAP 6/7

Solution Verified - Updated -

Issue

  • 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

Environment

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

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