You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2021/04/11 09:11:17 UTC
[dubbo] branch master updated: Adjust the default log priority
order, use slf4j first (#4212)
This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 2aae902 Adjust the default log priority order, use slf4j first (#4212)
2aae902 is described below
commit 2aae9029d9a5f1109c2ec4502fbddd08079dfc03
Author: Liuzh <ab...@gmail.com>
AuthorDate: Sun Apr 11 17:11:05 2021 +0800
Adjust the default log priority order, use slf4j first (#4212)
---
.../src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-common/src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java b/dubbo-common/src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java
index 41d1632..617803c 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java
@@ -60,8 +60,8 @@ public class LoggerFactory {
break;
default:
List<Class<? extends LoggerAdapter>> candidates = Arrays.asList(
- Log4jLoggerAdapter.class,
Slf4jLoggerAdapter.class,
+ Log4jLoggerAdapter.class,
Log4j2LoggerAdapter.class,
JclLoggerAdapter.class,
JdkLoggerAdapter.class