title: Turn off hibernate logging to console
body: <p>When running my Spring/Hibernate application I see the following unwanted output on the console:</p>
  
  <pre><code>Hibernate: select securityus0_.ID ....
  Hibernate: select securityus0_.ID ....
  Hibernate: select securityus0_.ID ....
  Hibernate: select securityus0_.ID ....
  </code></pre>
  
  <p>I have configured my Log4j logger like so:   </p>
  
  <pre><code>   &lt;logger name="org.hibernate"&gt;
       &lt;level value="FATAL"/&gt;
     &lt;/logger&gt;
  
     &lt;category name="STDOUT"&gt;
        &lt;priority value="WARN"/&gt;
     &lt;/category&gt;
     &lt;category name="STDERR"&gt;
        &lt;priority value="WARN"/&gt;
     &lt;/category&gt;   
  
     &lt;!-- for all other loggers log only info and above log messages --&gt;
     &lt;root&gt;
        &lt;priority value="WARN"/&gt; 
        &lt;appender-ref ref="STDOUT" /&gt; 
     &lt;/root&gt;
  </code></pre>
  
  <p>How do I silence these messages?</p>