title: HHH000179 warning in hibernate logging - 5.2.10
body: <p>In cotext of "<a href="https://forum.hibernate.org/viewtopic.php?p=2404391" rel="nofollow noreferrer">https://forum.hibernate.org/viewtopic.php?p=2404391</a>" - I have added "org.hibernate.engine.internal.StatefulPersistenceContext" to ERROR in log4j.properties as well tried also "org.hibernate.engine.internal" to ERROR.</p>
  
  <p>However HHH000179  warning is still not getting suppressed.My hibernate version is 5.2.10. I tried to check the code of StatefulPersistenceContext from this version and there is following code:</p>
  
  <p>if ( !alreadyNarrow ) {
              LOG.narrowingProxy( concreteProxyClass );</p>
  
  <p>Unless here the code adds check for checking if logging level WARN is enabled, how this can be suppressed even mentioning ERROR level for this class?</p>
  
  <p>For tracing level there is code in the same file as:</p>
  
  <pre><code>final boolean tracing = LOG.isTraceEnabled();
      if ( tracing ) {
          LOG.trace( "Serializing persistent-context" );
      }
  </code></pre>
  
  <p>and I think similar logic should have been there for WARN for suppressing 'HHH000179'</p>
  
  <p>I was cusrious if this has already been addressed or any other ways to suppress this warning?</p>