From 1dc5b3bd83e56ca8b46926bf6a224d20f7b51d2f Mon Sep 17 00:00:00 2001 From: Jeremy Bauer Date: Tue, 20 Oct 2009 15:00:48 +0000 Subject: [PATCH] OPENJPA-926 Switch access type modification to log at trace instead of warning level. An access type change is normal under conditions such as XML overrides. A warning could be misconstrued as a problem that needs to be corrected in OpenJPA or application code. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@827638 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/java/org/apache/openjpa/meta/ClassMetaData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java index 843e3c414..9a3f2ee40 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/meta/ClassMetaData.java @@ -693,7 +693,7 @@ public class ClassMetaData this, AccessCode.toClassString(type)).getMessage()); } if (_accessType != AccessCode.UNKNOWN) { // changing access type - _repos.getLog().warn(_loc.get("access-type-change", + _repos.getLog().trace(_loc.get("access-type-change", this, AccessCode.toClassString(type), AccessCode.toClassString(_accessType)).getMessage()); }