mirror of
http://git.pig4cloud.com/pig/pigx.git
synced 2026-11-08 04:39:00 +08:00
⬆️ spring boot 2.2 logging.file -> logging.file.name
This commit is contained in:
1 parent
9c10e524d7
commit
90c13a4082
1 file changed
+1
-1
+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));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user