|
@@ -129,7 +129,7 @@ public class SpringLifecycle implements ApplicationRunner, DisposableBean, Servl
|
|
|
public void onApplicationReady() {
|
|
public void onApplicationReady() {
|
|
|
log.info("Application is ready! You can start processing requests.");
|
|
log.info("Application is ready! You can start processing requests.");
|
|
|
// 在这里执行初始化逻辑
|
|
// 在这里执行初始化逻辑
|
|
|
- //initLogger();
|
|
|
|
|
|
|
+ initLogger();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
private void initLogger() {
|
|
private void initLogger() {
|