修复日志打印导致的log4j版本不兼容的问题
This commit is contained in:
parent
84a7dc9cbb
commit
da06ad18a0
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue