From 696abff61ca0218f42449e2bae4e03719528b4ae Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Mon, 17 Dec 2018 12:18:00 -0800 Subject: [PATCH] HHH-11209 : Change logging for detaching a PersistentCollection with queued operation to DEBUG --- .../src/main/java/org/hibernate/internal/CoreMessageLogger.java | 2 +- hibernate-core/src/test/resources/log4j.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java index 815219e116..aa57ae4c88 100644 --- a/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java +++ b/hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java @@ -1771,7 +1771,7 @@ public interface CoreMessageLogger extends BasicLogger { @Message(value = "Attaching an uninitialized collection with queued operations to a session: %s", id = 495) void queuedOperationWhenAttachToSession(String collectionInfoString); - @LogMessage(level = INFO) + @LogMessage(level = DEBUG) @Message(value = "Detaching an uninitialized collection with queued operations from a session: %s", id = 496) void queuedOperationWhenDetachFromSession(String collectionInfoString); } diff --git a/hibernate-core/src/test/resources/log4j.properties b/hibernate-core/src/test/resources/log4j.properties index a4e6bf90b9..c456d658a6 100644 --- a/hibernate-core/src/test/resources/log4j.properties +++ b/hibernate-core/src/test/resources/log4j.properties @@ -57,4 +57,4 @@ log4j.logger.org.hibernate.type.descriptor.java.JavaTypeDescriptorRegistry=debug ### log4j.logger.org.hibernate.event.internal.EntityCopyAllowedLoggedObserver=debug log4j.logger.org.hibernate.testing.junit4.TestClassMetadata=info, unclosedSessionFactoryFile -log4j.logger.org.hibernate.collection.internal.AbstractPersistentCollection=info +log4j.logger.org.hibernate.collection.internal.AbstractPersistentCollection=debug