From 70f8ee7576176773cfb7c967808d88dccbae6de4 Mon Sep 17 00:00:00 2001 From: k-tamura Date: Wed, 8 Mar 2017 22:57:11 +0900 Subject: [PATCH] Change debug level when OgnlException is thrown --- .../vulnerabilities/OGNLExpressionInjectionServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/t246osslab/easybuggy/vulnerabilities/OGNLExpressionInjectionServlet.java b/src/main/java/org/t246osslab/easybuggy/vulnerabilities/OGNLExpressionInjectionServlet.java index 894b0272..33cbd07b 100644 --- a/src/main/java/org/t246osslab/easybuggy/vulnerabilities/OGNLExpressionInjectionServlet.java +++ b/src/main/java/org/t246osslab/easybuggy/vulnerabilities/OGNLExpressionInjectionServlet.java @@ -45,7 +45,7 @@ protected void service(HttpServletRequest req, HttpServletResponse res) throws S value = Ognl.getValue(expr, ctx); } catch (OgnlException e) { isValid = false; - log.error("Exception occurs: ", e); + log.debug("Exception occurs: ", e); } }