⬆️ spring boot 2.2 logging.file -> logging.file.name

This commit is contained in:
冷冷 committed 2019-12-11 19:01:30 +08:00
1 parent 9c10e524d7
commit 90c13a4082
1 file changed
+1 -1
@@ -19,6 +19,6 @@ public class ApplicationLoggerInitializer implements ApplicationContextInitializ
String logBase = environment.getProperty("LOGGING_PATH", "logs");
// spring boot admin 直接加载日志
System.setProperty("logging.file", String.format("%s/%s/debug.log", logBase, appName));
System.setProperty("logging.file.name", String.format("%s/%s/debug.log", logBase, appName));
}
}