sql - Oracle JDBC Diagnostics with JBoss EAP 6.1 -


how can log sql in jboss eap 6.1. i'm using oracle.

link resource: oracle jdbc diagnostics http://docs.oracle.com/cd/b28359_01/java.111/b31224/diagnose.htm#ciaieeff

i'm using ojdbc6_g jdbc driver.

myjdbcloggingconfig.properties:  .level=config oracle.jdbc.level=config oracle.jdbc.handlers=java.util.logging.filehandler java.util.logging.filehandler.level=config java.util.logging.filehandler.pattern=c:/work/jdbc.log java.util.logging.filehandler.count=1 java.util.logging.filehandler.formatter=java.util.logging.simpleformatter 

java vm parameters in jboss-tools (eclipse):

 -djava.util.logging.config.file=c:/work/myjdbcloggingconfig.properties  

but did not results. can wrong configuration ?

i think can use jboss 7 standard jdbc logging this:

http://middlewaremagic.com/jboss/?p=1050


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -