struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amashche...@apache.org
Subject [struts] 01/02: Better logging message (for WW-4954)
Date Mon, 03 Sep 2018 19:07:27 GMT
This is an automated email from the ASF dual-hosted git repository.

amashchenko pushed a commit to branch struts-2-5-x
in repository https://gitbox.apache.org/repos/asf/struts.git

commit b1709c5208b599b5aaff20f712bd8f70428295a0
Author: Aleksandr Mashchenko <amashchenko@apache.org>
AuthorDate: Fri Aug 31 00:05:42 2018 +0300

    Better logging message (for WW-4954)
    
    (cherry picked from commit b213d58f54d3bc89b21726d441325202ef99628d)
---
 .../main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 0c58740..f09cf30 100644
--- a/core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java
+++ b/core/src/main/java/com/opensymphony/xwork2/ognl/SecurityMemberAccess.java
@@ -75,7 +75,8 @@ public class SecurityMemberAccess extends DefaultMemberAccess {
         }
 
         if (isPackageExcluded(targetClass.getPackage(), memberClass.getPackage())) {
-            LOG.warn("Package of target [{}] or package of member [{}] are excluded!", target,
member);
+            LOG.warn("Package [{}] of target class [{}] of target [{}] or package [{}] of
member [{}] are excluded!", targetClass.getPackage(), targetClass,
+                    target, memberClass.getPackage(), member);
             return false;
         }
 


Mime
View raw message