[jboss-as7-dev] hibernate log barf

Jaikiran Pai jpai at redhat.com
Thu May 19 05:07:00 EDT 2011


 From what I see in one of Scott Marlow's mails, I think he already has 
started a discussion on reducing the verbosity of these log messages in 
Hibernate.

-Jaikiran
On Thursday 19 May 2011 02:05 PM, Ales Justin wrote:
> This is my persistence.xml
>
>      <persistence-unit name="radar" transaction-type="JTA">
> 		<provider>org.hibernate.ejb.HibernatePersistence</provider>
> 		<jta-data-source>java:/H2DS</jta-data-source>
>          <!-- entities -->
>          <class>org.jboss.lhotse.server.api.domain.AbstractEntity</class>
>          <class>org.jboss.lhotse.server.api.domain.TimestampedEntity</class>
>          <class>org.jboss.lhotse.server.api.domain.GeoPt</class>
>          <class>org.jboss.lhotse.server.api.domain.Version</class>
>          <class>com.alterjoc.radar.server.domain.AuditLog</class>
>          <exclude-unlisted-classes>true</exclude-unlisted-classes>
>          <properties>
>              <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
>              <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
>              <property name="hibernate.show_sql" value="false"/>
>              <property name="hibernate.format_sql" value="true"/>
>          </properties>
>      </persistence-unit>
>
> when running / testing app in latest AS7, Hibernate barfs a ton of INFO / WARN:
> * http://pastebin.com/iJCahSFi
>
> It looks like things do work, but definitely something I as a user don't like to see.
>
> -Ales
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list