forked from p81075629/datagear
禁用PathDriverClassLoader的getResource()调试日志,避免有些驱动频繁自动调用此接口刷屏日志
This commit is contained in:
parent
98c964d5ef
commit
e5bfbeda71
|
@ -100,8 +100,10 @@ public class PathDriverClassLoader extends URLClassLoader
|
|||
// return parent.getResource(name);
|
||||
// }
|
||||
|
||||
if (LOGGER.isDebugEnabled())
|
||||
LOGGER.debug("getResource [" + url + "] for [" + name + "] in path [" + getPath() + "]");
|
||||
// 禁用这里的调试输出,有些驱动(MySQL驱动)会频繁自动调用此接口,刷屏日志
|
||||
// if (LOGGER.isDebugEnabled())
|
||||
// LOGGER.debug("getResource [" + url + "] for [" + name + "] in path ["
|
||||
// + getPath() + "]");
|
||||
|
||||
return url;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue