Raise log level for exceptions from EntityManager close call #24501
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
Version 5.1.9
In
EntityManagerFactoryUtils::closeEntityManager
there is a catch-all forThrowable
which logs any exception onDEBUG
level. It would be very helpful if the level could be increased toERROR
. In our multi-tenancy project we're using a customConnectionProvider
which threw an exception, but we didn't see it in the logs and it took us a day to track down the problem.The text was updated successfully, but these errors were encountered: