title: Hibernate query (not SQL) logging
body: <p>I'm using Hibernate's EntityManager as a JPA implementation. What I want is logging of the query (HQL or JPA Query Language) made to EntityManager. This is different than SQL logging (which is enabled with the <code>hibernate.show_sql</code> property).</p>
  
  <p>My application issues several queries to Hibernate. I want logging of both the queries issued to Hibernate and the corresponding generated SQL queries. I'd like to achieve this without having to add my own logging just before querying Hibernate.</p>
  
  <p>Does Hibernate support this?</p>