启动器日志调整.

This commit is contained in:
aoshiguchen
2022-06-24 19:56:45 +08:00
parent 62a0d24056
commit 38edcbebb7
2 changed files with 6 additions and 3 deletions
@@ -51,7 +51,6 @@ public class NeutrinoLauncher {
public static void runSync(final Class<?> clazz, final String[] args) {
run(clazz, args).sync();
log.info("Application already stop.");
}
private NeutrinoLauncher(Class<?> clazz, String[] args) {
@@ -66,7 +65,10 @@ public class NeutrinoLauncher {
environmentInit();
this.applicationContainer = new DefaultApplicationContainer(environment);
SystemUtil.RunContext runContext = SystemUtil.waitProcessDestroy(() -> this.applicationContainer.destroy());
SystemUtil.RunContext runContext = SystemUtil.waitProcessDestroy(() -> {
this.applicationContainer.destroy();
log.info("Application already stop.");
});
stopWatch.stop();
printLog(environment, stopWatch);
@@ -14,6 +14,7 @@ proxy:
client:
key-store-password: 123456
jks-path: classpath:/test.jks
server-ip: localhost
# server-ip: localhost
server-ip: 122.51.22.55
server-port: 9000
ssl-enable: false