[jboss-user] [JBoss Seam] - Re: Debuging hibernate during tests in Embedded JBoss
do-not-reply at jboss.com
Thu Jan 24 11:24:12 EST 2008
Just have to add something here, because I had a similar problem. The problem described in http://jira.jboss.com/jira/browse/EMB-8 applies, if nothing is logged to log4j at all.
If log4j is used for logging, but your configuration is not picked up (in your case you don't see the hibernate debug output), then there is some other configuration that is picked up before your log4j.xml. Have a look at the path used when you run the tests. It could also be an orphan log4j.properties.
In my case it worked, when I put bootstrap at the very beginning of the classpath.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4123101#4123101
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4123101
More information about the jboss-user