title: How to remove meaningless codes (HHH000...) from hibernate logs
body: <p>I am trying new version of Hibernate (I have used 3.x so far) and Hibernate switched to jboss-logging for whatever reason. This is something I could easily live with, but I like to keep my logs clean and readable and it inserts codes into log messages:</p>
  
  <pre><code>16 Feb 2013 19:25:08,352 INFO  [Version:37] - HCANN000001: Hibernate Commons Annotations {4.0.1.Final}
  16 Feb 2013 19:25:08,357 INFO  [Version:41] - HHH000412: Hibernate Core {4.1.9.Final}
  16 Feb 2013 19:25:08,358 INFO  [Environment:239] - HHH000206: hibernate.properties not found
  16 Feb 2013 19:25:08,359 INFO  [Environment:342] - HHH000021: Bytecode provider name : javassist
  </code></pre>
  
  <p>I am using log4j as logging library and my pattern is</p>
  
  <pre><code>log4j.appender.stdout.layout.ConversionPattern=%d{dd MMM yyyy HH:mm:ss,SSS} %-5p [%c{1}:%L] - %m%n
  </code></pre>
  
  <p>and this suggests that the code is already part of the message that goes to log4j.</p>
  
  <p>So is there any way to remove the codes from the log messages to have</p>
  
  <pre><code>16 Feb 2013 19:25:08,357 INFO  [Version:41] - Hibernate Core {4.1.9.Final}
  </code></pre>
  
  <p>I dont want to turn off hibernate logging completely, I just don't want the codes like HHH000412 in it.</p>