提交 da06ad18 编写于 作者: A ascrutae

修复日志打印导致的log4j版本不兼容的问题

上级 84a7dc9c
......@@ -110,12 +110,12 @@ public class TracingDriver implements Driver {
String urlPrefix = mapping.next();
if (url.startsWith(urlPrefix)) {
String driverClassStr = urlDriverMapping.get(urlPrefix);
logger.debug("Success choose the driver class [{}] by connection url[{}]", driverClassStr, url);
logger.debug("Success choose the driver class [" + driverClassStr + "] by connection url[ " + url + " ]");
return driverClassStr;
}
}
logger.warn("Cannot match the driver class by connection url [{}].", url);
logger.warn("Cannot match the driver class by connection url [" + url + "].");
return null;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册