diff --git a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java index 2e5ffa9dd..4caa2b788 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/VelocityServer.java @@ -502,6 +502,9 @@ public class VelocityServer implements ProxyServer, ForwardingAudience { Thread.currentThread().interrupt(); } + // Since we manually removed the shutdown hook, we need to handle the shutdown ourselves. + LogManager.shutdown(); + shutdown = true; if (explicitExit) { diff --git a/proxy/src/main/resources/log4j2.xml b/proxy/src/main/resources/log4j2.xml index ddbac0715..5b3e217a9 100644 --- a/proxy/src/main/resources/log4j2.xml +++ b/proxy/src/main/resources/log4j2.xml @@ -16,7 +16,8 @@ along with this program. If not, see . --> - + +