Skip to content

Raise log level for exceptions from EntityManager close call #24501

@mirkoadebahr

Description

@mirkoadebahr

Version 5.1.9

In EntityManagerFactoryUtils::closeEntityManager there is a catch-all for Throwable which logs any exception on DEBUG level. It would be very helpful if the level could be increased to ERROR. In our multi-tenancy project we're using a custom ConnectionProvider which threw an exception, but we didn't see it in the logs and it took us a day to track down the problem.

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)status: backportedAn issue that has been backported to maintenance branchestype: enhancementA general enhancement

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions