fix logging
This commit is contained in:
parent
97814e100a
commit
eb3f8b2f79
|
@ -168,7 +168,7 @@ public final class InternalServer implements Server {
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
Logger logger = Loggers.getLogger(Server.class, settings.get("name"));
|
Logger logger = Loggers.getLogger(Server.class, settings.get("name"));
|
||||||
logger.info("{ElasticSearch/{}}: Stopping ...", Version.full());
|
logger.info("{{}}: Stopping ...", Version.full());
|
||||||
|
|
||||||
if (settings.getAsBoolean("http.enabled", true)) {
|
if (settings.getAsBoolean("http.enabled", true)) {
|
||||||
injector.getInstance(HttpServer.class).stop();
|
injector.getInstance(HttpServer.class).stop();
|
||||||
|
|
Loading…
Reference in New Issue