Skip to content

Commit

Permalink
Merge pull request #838 from apache/fix/debug-level
Browse files Browse the repository at this point in the history
Reduces log level to debug to reduce noise in the logs
  • Loading branch information
kusalk authored Jan 8, 2024
2 parents 07cecbf + 5b020eb commit f5a7c31
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ protected void registerAdditionalMethodAccessors() {
}
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());
}
}

Expand All @@ -142,7 +142,7 @@ protected void registerNullHandlers() throws ClassNotFoundException {
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());
}
}

Expand All @@ -156,7 +156,7 @@ protected void registerPropertyAccessors() throws ClassNotFoundException {
}
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());
}
}

Expand Down

0 comments on commit f5a7c31

Please sign in to comment.