diff --git a/neutrino-core/src/main/java/fun/asgc/neutrino/core/launcher/NeutrinoLauncher.java b/neutrino-core/src/main/java/fun/asgc/neutrino/core/launcher/NeutrinoLauncher.java index aea7ad38..c96ea430 100644 --- a/neutrino-core/src/main/java/fun/asgc/neutrino/core/launcher/NeutrinoLauncher.java +++ b/neutrino-core/src/main/java/fun/asgc/neutrino/core/launcher/NeutrinoLauncher.java @@ -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); diff --git a/neutrino-proxy-client/src/main/resources/application.yml b/neutrino-proxy-client/src/main/resources/application.yml index 15dcf526..6aa313fd 100644 --- a/neutrino-proxy-client/src/main/resources/application.yml +++ b/neutrino-proxy-client/src/main/resources/application.yml @@ -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