From 500f8ac2932e58533eb42617e761e7e43b3df952 Mon Sep 17 00:00:00 2001 From: Wayne-Yu <644497267@qq.com> Date: Fri, 29 Apr 2022 10:55:27 +0800 Subject: [PATCH] Fixed the log level of debug debug(String msg, Throwable e) have used a wrong log level,fixed it to LocationAwareLogger.DEBUG_INT. --- src/main/java/com/alibaba/druid/support/logging/SLF4JImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/alibaba/druid/support/logging/SLF4JImpl.java b/src/main/java/com/alibaba/druid/support/logging/SLF4JImpl.java index 8dff2598eb..6c17e9e8b5 100644 --- a/src/main/java/com/alibaba/druid/support/logging/SLF4JImpl.java +++ b/src/main/java/com/alibaba/druid/support/logging/SLF4JImpl.java @@ -81,7 +81,7 @@ public class SLF4JImpl implements Log { @Override public void debug(String msg, Throwable e) { debugCount++; - log.log(null, callerFQCN, LocationAwareLogger.ERROR_INT, msg, null, e); + log.log(null, callerFQCN, LocationAwareLogger.DEBUG_INT, msg, null, e); } @Override