title: Hibernate doesn't log anything anymore, since I relocated the log4j.xml and hibernate.properties files
body: <p>I had the following working organization</p>
  
  <ul>
  <li><code>src/main/resources/log4j.xml</code></li>
  <li><code>src/main/resources/hibernate.properties</code></li>
  </ul>
  
  <p>I wanted to reorganize my webapp as follow:</p>
  
  <ul>
  <li><code>src/main/resources/log/log4j.xml</code></li>
  <li><code>src/main/resources/orm/hibernate.properties</code></li>
  </ul>
  
  <p>The <code>Logger.info("foobar")</code> still logs well (after having set the <code>log4jConfigLocation</code> context parameter), and the app still has a working database connection. </p>
  
  <p>The problem is that Hibernate doesn't log anything anymore, even if <code>hibernate.show_sql</code> is set to <code>true</code>. Any idea why? Should specify the new path to the <code>log4j.xml</code> file to Hibernate? If yes, how?</p>