users@glassfish.java.net

Hibernate + Glassfish + Logging

From: <forums_at_java.net>
Date: Sun, 18 Mar 2012 15:10:54 -0500 (CDT)

I've been trying to get Hibernate to show me some logging.

After installing Hibernate using the webadmin console of glassfish/"Update
Tool", there're slf4j-jdk14-1.5.8.jar and slf4j-api-1.5.8.jar in glassfish.
When I call upon SLF4J logging with my EJBBean and adding it to
logging.properties file this works fine.

I've added Hibernate logging settings to logging.properties in my instance
"domain1", according to
http://vineetreynolds.blogspot.com/2011/07/configure-hibernate-logging-on.html
and
http://docs.jboss.org/hibernate/core/3.5/reference/en/html/session-configuration.html#configuration-logging.

But for some reason, no logging appears. I've used Netbeans 7.1.1 and
glassfish 3.1.2. Perhaps someone can help?


--
[Message sent by forum member 'maarten_l']
View Post: http://forums.java.net/node/884351