[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - hibernate + log4j.xml = can not get it work
dmitri.ilyin
do-not-reply at jboss.com
Wed Mar 25 15:40:44 EDT 2009
hi,
i have stupid problem. I have a simples jpa configuration, one class woth JPA anotation ud one unit test. I wanted to see hibernate output nad have put log4j.xml file in the classpath. But i don't see log statements from hibernate.
i see just INFO "common" statements about initialisation but nothing about queries and parameters. It seems that my log4j.xml will be not found.
Are there any tricks? I have already searched but found only tutorials how to configure log4j properly. I mean i have done all correctly.
| <category name="org.hibernate">
| <priority value="TRACE"/>
| <appender-ref ref="CONSOLE"/>
| </category>
|
But it still not work.
any ideas?
thanks a lot for any advises
regards
Dmitri
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4221092#4221092
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4221092
More information about the jboss-user
mailing list