Commit c752cc31 by Spencer Gibb

fix logging of initial eureka status

parent de9af2b4
......@@ -78,8 +78,8 @@ public class EurekaClientConfiguration implements SmartLifecycle, Ordered {
//because of containerPortInitializer below
if (!running && instanceConfig.getNonSecurePort() > 0) {
discoveryManagerIntitializer().init();
logger.info("Registering application {} with eureka with status UP",
instanceConfig.getAppname());
logger.info("Registering application {} with eureka with status {}",
instanceConfig.getAppname(), instanceConfig.getInitialStatus());
ApplicationInfoManager.getInstance().setInstanceStatus(instanceConfig.getInitialStatus());
running = true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment