This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch fix/debug-level
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 5b020eb570efb91cc345973b277ac0affec86871
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Mon Jan 8 07:11:35 2024 +0100

    Reduces log level to debug to reduce noise in the logs
---
 .../java/com/opensymphony/xwork2/ognl/OgnlValueStackFactory.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStackFactory.java 
b/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStackFactory.java
index f72ad4be8..2910d40a6 100644
--- a/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStackFactory.java
+++ b/core/src/main/java/com/opensymphony/xwork2/ognl/OgnlValueStackFactory.java
@@ -132,7 +132,7 @@ public class OgnlValueStackFactory implements 
ValueStackFactory {
             }
             MethodAccessor methodAccessor = 
container.getInstance(MethodAccessor.class, name);
             OgnlRuntime.setMethodAccessor(cls, methodAccessor);
-            LOG.info("Registered custom OGNL MethodAccessor [{}] for class 
[{}]", methodAccessor.getClass().getName(), cls.getName());
+            LOG.debug("Registered custom OGNL MethodAccessor [{}] for class 
[{}]", methodAccessor.getClass().getName(), cls.getName());
         }
     }
 
@@ -142,7 +142,7 @@ public class OgnlValueStackFactory implements 
ValueStackFactory {
             Class<?> cls = Class.forName(name);
             NullHandler nullHandler = container.getInstance(NullHandler.class, 
name);
             OgnlRuntime.setNullHandler(cls, new 
OgnlNullHandlerWrapper(nullHandler));
-            LOG.info("Registered custom OGNL NullHandler [{}] for class [{}]", 
nullHandler.getClass().getName(), cls.getName());
+            LOG.debug("Registered custom OGNL NullHandler [{}] for class 
[{}]", nullHandler.getClass().getName(), cls.getName());
         }
     }
 
@@ -156,7 +156,7 @@ public class OgnlValueStackFactory implements 
ValueStackFactory {
             }
             PropertyAccessor propertyAccessor = 
container.getInstance(PropertyAccessor.class, name);
             OgnlRuntime.setPropertyAccessor(cls, propertyAccessor);
-            LOG.info("Registered custom OGNL PropertyAccessor [{}] for class 
[{}]", propertyAccessor.getClass().getName(), cls.getName());
+            LOG.debug("Registered custom OGNL PropertyAccessor [{}] for class 
[{}]", propertyAccessor.getClass().getName(), cls.getName());
         }
     }
 

Reply via email to