Logging
How do Hibernate logs work in the Ortus ORM Extension?
How can I configure/acquire Hibernate logging in the Ortus ORM Extension?
The Ortus ORM Extension reconfigures all Hibernate logging output on startup to log ERROR
-level events to the server console.
How can I configure/acquire Hibernate logging in the Lucee Hibernate Extension?
This depends on the version of Lucee you are running - specifically, on whether you're on Log4J 2 or not.
Lucee versions running Log4J 1.x
Lucee versions containing the older log4j 1.x can use this code to set a custom logging level and redirect the Hibernate logs to the server console:
Lucee versions running Log4J 2.x
For versions of Lucee running log4j 2.x, the above workaround does not apply. If you are interested in tweaking the Hibernate logging level in the Lucee Hibernate extension, I would suggest sponsoring this feature and future users can benefit from the shared knowledge.
Last updated