I don't know whether this is a question about Seam, EJB3, or JBoss/Hibernate...

How do I control SQL logging?  Ideally, I could systematically control whether 
any SQL is logged, as well as controlling specific types 
(SELECT/INSERT/UPDATE), or selected areas of the application (presumably 
package level).

Also, I need to be able to change the setting while the application is running, 
in order to debug a production problem.

I know how to do this when I'm using Log4j without an O/R framework, since I 
can wrap the PreparedStatement with my own version with a nice toString() 
method and some logging calls.  I just don't know how to do this when I hand 
off the entire persistence job to the framework.



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961575#3961575

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961575
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to