https://github.com/hibernate/hibernate-orm/pull/1085 contains a test case that creates the log messages mentioned in the description. However some of the hibernate tests create the same log messages.