Enabling DataSource Spy Logging in JBoss EAP 6
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.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
