diff --git a/core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java b/core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java index e993f3adb1..966c0522a2 100644 --- a/core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java +++ b/core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java @@ -166,7 +166,7 @@ protected boolean checkExclusionList(Object target, Member member) { return false; } if (isPackageExcluded(memberClass)) { - LOG.warn("Package [{}] of target class [{}] of target [{}] is excluded!", + LOG.warn("Package [{}] of member class [{}] of member [{}] is excluded!", memberClass.getPackage(), memberClass, target); @@ -181,7 +181,7 @@ protected boolean checkExclusionList(Object target, Member member) { return false; } if (isPackageExcluded(targetClass)) { - LOG.warn("Package [{}] of member [{}] are excluded!", targetClass.getPackage(), member); + LOG.warn("Package [{}] of target [{}] is excluded!", targetClass.getPackage(), member); return false; } return true;