title: Hibernate: how do you adjust the default logging level (SJF4J and JDK 1.4 logger)?
body: <p>I have a JavaSE/Hibernate test app (shell-based). I put the following JARs into the project's lib dir:</p>
  
  <pre><code>antlr-2.7.6.jar
  commons-collections-3.1.jar
  commons-lang-2.5.jar
  dom4j-1.6.1.jar
  hibernate-jpa-2.0-api-1.0.0.Final.jar
  hibernate3.jar
  javassist-3.12.0.GA.jar
  jta-1.1.jar
  slf4j-api-1.6.1.jar
  slf4j-jdk14-1.6.1.jar
  </code></pre>
  
  <p>As you can see, I'm using SLF4J with the JDK 1.4 logger. When I run my test app from the shell, Hibernate is very verbose because it is set to the INFO level by default:</p>
  
  <pre><code>09.12.2010 02:23:14 org.hibernate.annotations.common.Version &lt;clinit&gt;
  INFO: Hibernate Commons Annotations 3.2.0.Final
  09.12.2010 02:23:14 org.hibernate.cfg.Environment &lt;clinit&gt;
  INFO: Hibernate 3.6.0.Final
  09.12.2010 02:23:14 org.hibernate.cfg.Environment &lt;clinit&gt;
  INFO: hibernate.properties not found
  09.12.2010 02:23:14 org.hibernate.cfg.Environment buildBytecodeProvider
  INFO: Bytecode provider name : javassist
  09.12.2010 02:23:14 org.hibernate.cfg.Environment &lt;clinit&gt;
  INFO: using JDK 1.4 java.sql.Timestamp handling
  09.12.2010 02:23:14 org.hibernate.ejb.Version &lt;clinit&gt;
  INFO: Hibernate EntityManager 3.6.0.Final
  09.12.2010 02:23:15 org.hibernate.cfg.AnnotationBinder bindClass
  INFO: Binding entity from annotated class: tld.standalone.bbstats.model.Game
  09.12.2010 02:23:15 org.hibernate.cfg.annotations.EntityBinder bindTable
  INFO: Bind entity tld.standalone.bbstats.model.Game on table Games
  09.12.2010 02:23:15 org.hibernate.cfg.AnnotationBinder bindClass
  INFO: Binding entity from annotated class: tld.standalone.bbstats.model.Roster
  09.12.2010 02:23:15 org.hibernate.cfg.annotations.EntityBinder bindTable
  INFO: Bind entity tld.standalone.bbstats.model.Roster on table Rosters
  .
  .
  .
  </code></pre>
  
  <p>How do I adjust the Hibernate logging level, to say WARNING?</p>
  
  <p>EclipseLink for example let's you specify the level via a property (persistence.xml):</p>
  
  <pre><code>&lt;property name="eclipselink.logging.level" value="INFO" /&gt;
  &lt;property name="eclipselink.logging.level.sql" value="FINE" /&gt;
  </code></pre>
  
  <p>Is there an equivalent in Hibernate?</p>