diff --git a/hugegraph-dist/src/main/java/com/baidu/hugegraph/dist/HugeGraphServer.java b/hugegraph-dist/src/main/java/com/baidu/hugegraph/dist/HugeGraphServer.java index 02a8583c6b..3341afec76 100644 --- a/hugegraph-dist/src/main/java/com/baidu/hugegraph/dist/HugeGraphServer.java +++ b/hugegraph-dist/src/main/java/com/baidu/hugegraph/dist/HugeGraphServer.java @@ -21,6 +21,7 @@ import java.util.concurrent.CompletableFuture; +import org.apache.logging.log4j.LogManager; import org.apache.tinkerpop.gremlin.server.GremlinServer; import org.slf4j.Logger; @@ -139,6 +140,7 @@ public static void main(String[] args) throws Exception { server.stop(); LOG.info("HugeGraphServer stopped"); + LogManager.shutdown(); serverStopped.complete(null); }, "hugegraph-server-shutdown")); // Wait for server-shutdown and server-stopped diff --git a/hugegraph-style.xml b/hugegraph-style.xml index 7b4523951a..440486babc 100644 --- a/hugegraph-style.xml +++ b/hugegraph-style.xml @@ -16,9 +16,9 @@ -->