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

This commit is contained in:
ascrutae 2016-06-16 10:23:15 +08:00
parent 84a7dc9cbb
commit da06ad18a0
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}