提交 8409ab85 编写于 作者: W william.liangf

DUBBO-344 log4j优先,保证测试用例通过

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@1585 1a56cb94-b969-4eaa-88fa-be21384802f2
上级 d9cbbeeb
......@@ -41,13 +41,13 @@ public class LoggerFactory {
//setLoggerAdapter(System.getProperty("dubbo.application.logger"));
//if (LOGGER_ADAPTER == null) {
try {
setLoggerAdapter(new Slf4jLoggerAdapter());
setLoggerAdapter(new Log4jLoggerAdapter());
} catch (Throwable e1) {
try {
setLoggerAdapter(new JclLoggerAdapter());
setLoggerAdapter(new Slf4jLoggerAdapter());
} catch (Throwable e2) {
try {
setLoggerAdapter(new Log4jLoggerAdapter());
setLoggerAdapter(new JclLoggerAdapter());
} catch (Throwable e3) {
setLoggerAdapter(new JdkLoggerAdapter());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册