title: Hibernate 5.0.11 does not log bind values
body: <p>I have pretty much tried every solutions available on this site and others but I cannot get to log hibernate bind values. </p>
  
  <p>Environment:</p>
  
  <pre><code>Spring 4
  Hibernate 5.0.11
  Wildfly 10.1.0
  </code></pre>
  
  <p>logging configuration in standalone.xml</p>
  
  <pre><code>        &lt;logger category="org.hibernate"&gt;
              &lt;level name="INFO"/&gt;
          &lt;/logger&gt;
          &lt;logger category="org.hibernate.type"&gt;
              &lt;level name="TRACE"/&gt;
          &lt;/logger&gt;
          &lt;logger category="net.sf.hibernate.type"&gt;
              &lt;level name="DEBUG"/&gt;
          &lt;/logger&gt;
          &lt;logger category="org.hibernate.SQL"&gt;
              &lt;level name="DEBUG"/&gt;
          &lt;/logger&gt;
          &lt;logger category="org.hibernate.hql"&gt;
              &lt;level name="DEBUG"/&gt;
          &lt;/logger&gt;
          &lt;root-logger&gt;
              &lt;level name="INFO"/&gt;
              &lt;handlers&gt;
                  &lt;handler name="CONSOLE"/&gt;
                  &lt;handler name="FILE"/&gt;
              &lt;/handlers&gt;
          &lt;/root-logger&gt;
  </code></pre>
  
  <p>Hibernate properties look like this:</p>
  
  <pre><code>    hibernateProperties.setProperty("hibernate.show-sql","true");
      hibernateProperties.setProperty("hibernate.format_sql","true");
      hibernateProperties.setProperty("hibernate.use_sql_comments","true");
  </code></pre>
  
  <p>I can see queries and comments just fine but no bind parameters and values.</p>