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
This commit is contained in:
Jeremy Bauer 2009-10-20 15:00:48 +00:00
parent 59c81b98aa
commit 1dc5b3bd83
1 changed files with 1 additions and 1 deletions

View File

@ -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());
}