JBPM Hibernate logging
tejjbpm Mar 31, 2010 8:43 AMHi All,
I have implemented JBPM successfully on Apache Tomcat 6.0.20. But I have an annoying problem with the hibernate logs.
The following lines are written to the my Apache log files repeatedly even when the system is not in use( but the Apache is still running).
Can anybody suggest how to turn off logging or reduce it to write only INFO messages.
My hibernate.cfg file looks like this. Can I add some line here or where is the log4j.properties file which these uses.Thanks a lot for your help.
--------------------------------
<hibernate-configuration>
<session-factory>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost/project</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">root</property>
<!--
<property name="connection.datasource">java:comp/env/jdbc/hsbc</property>
<property name="transaction.factory_class">org.hibernate.transaction.JTATransactionFactory</property>
<property name="jta.UserTransaction">java:comp/UserTransaction</property> -->
<property name="hibernate.format_sql">true</property>
<property name="hibernate.cache.provider_class">org.hibernate.cache.HashtableCacheProvider</property>
<mapping resource="jbpm.repository.hbm.xml" />
<mapping resource="jbpm.execution.hbm.xml" />
<mapping resource="jbpm.history.hbm.xml" />
<mapping resource="jbpm.task.hbm.xml" />
<mapping resource="jbpm.identity.hbm.xml" />
</session-factory>
</hibernate-configuration>
LOG FILE
--------------