This commit is contained in:
Looly
2022-06-19 11:58:47 +08:00
parent 253ec671c1
commit bd74cdb078
9 changed files with 26 additions and 26 deletions
@@ -176,7 +176,7 @@ public abstract class LogFactory {
}
// 未找到任何可支持的日志库时判断依据:当JDK Logging的配置文件位于classpath中,使用JDK Logging,否则使用Console
final URL url = ResourceUtil.getResource("logging.properties");
final URL url = ResourceUtil.getResourceUrl("logging.properties");
return (null != url) ? new JdkLogFactory() : new ConsoleLogFactory();
}
// ------------------------------------------------------------------------- Static end