I have those settings in my deployer config. We are running on glassfish 2.1.1, it has a standard log file server.log in the domain. Apps that use System.out.println() or System.err.println() always output to the server.log.
I wonder where the Hibernate SQL is going... Bryan Wooten [email protected] Work: 801.585.9323 Cell: 801.414.3593 -----Original Message----- From: Marvin Addison [mailto:[email protected]] Sent: Monday, November 15, 2010 12:34 PM To: [email protected] Subject: Re: [cas-user] Set up Hibernate logging? The most valuable logging comes from setting showSql="true" in your entityManagerFactory bean: <bean id="entityManagerFactory" class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"> <property name="dataSource" ref="dataSource"/> <property name="jpaVendorAdapter"> <bean class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"> <property name="generateDdl" value="true"/> <property name="showSql" value="true" /> </bean> </property> <property name="jpaProperties"> <props> <prop key="hibernate.dialect">${database.dialect}</prop> <prop key="hibernate.hbm2ddl.auto">update</prop> </props> </property> </bean> Output is written to STDOUT of your container, e.g. $TOMCAT_HOME/logs/catalina.out. M -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
