How do I get Hibernate to stop logging to STDOUT in my server logs?

Solution Verified - Updated -

Issue

  • I can't seem to get Hibernate to stop logging to STDOUT in my server logs. I am getting entries like this in my log files
    INFO  [STDOUT] Hibernate: select ordh2entit0_.ordref as ordref43_0_, ordh2entit0_.ccamt as ccamt43_0_, ordh2en...
    
  • Our log4j configuration has org.hibernate log level set to WARN, but every EJB3 entity access is resulting in Hibernate INFO messages being output to log (and console)

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 4.3
    • 5.0
  • Hibernate

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.