Disable Log4J's built-in shutdown hook, because it broke logging in the shutdown sequence when exiting by interrupting the process. This was caused by the Log4J's hook running before ours. (#637)
This commit is contained in:
@@ -16,7 +16,8 @@
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<Configuration status="warn">
|
||||
<!-- Disable shutdown hook, because we have our own -->
|
||||
<Configuration status="warn" shutdownHook="disable">
|
||||
<Appenders>
|
||||
<TerminalConsole name="TerminalConsole">
|
||||
<PatternLayout>
|
||||
|
Reference in New Issue
Block a user