HHH-7908 Logging level checking

Conflicts:
	hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java