Add a Logger which is able to monitor the creation of new Sessions at DEBUG/TRACE level

Description

For debugging purposes it should be possible to see when a new session has been created.

Based on the Idea of S.Ebersole:
a better option would be to add a new logger to org.hibernate.internal.SessionFactoryImpl.SessionBuilderImpl

Environment

None

Assignee

Steve Ebersole

Reporter

Thomas Hackel

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Trivial
Configure