HHH-7908 Logging level checking

Conflicts:
	hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/BasicExtractor.java