mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 17:01:56 +01:00
Ensure that Log4J is shutdown when stopping the server (Fixes #7932)
This commit is contained in:
parent
945316dc5d
commit
1ef1281f21
1 changed files with 1 additions and 0 deletions
|
@ -477,6 +477,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||||
+ e.printStackTrace();
|
+ e.printStackTrace();
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
} finally {
|
} finally {
|
||||||
|
+ org.apache.logging.log4j.LogManager.shutdown(); // Paper
|
||||||
try {
|
try {
|
||||||
- net.minecrell.terminalconsole.TerminalConsoleAppender.close(); // Paper - Use TerminalConsoleAppender
|
- net.minecrell.terminalconsole.TerminalConsoleAppender.close(); // Paper - Use TerminalConsoleAppender
|
||||||
+ //net.minecrell.terminalconsole.TerminalConsoleAppender.close(); // Paper - Move into stop
|
+ //net.minecrell.terminalconsole.TerminalConsoleAppender.close(); // Paper - Move into stop
|
||||||
|
|
Loading…
Reference in a new issue