Search before asking
Description
Log4j2 registers a shutdown hook to perform cleanup operations. However, in the JVM, the execution order of multiple shutdown hooks is not guaranteed. This may cause Log4j2's shutdown hook to run before Fluss's shutdown hook, resulting in logs emitted during Fluss's shutdown phase not being captured.
We can disable Log4j2's shutdown hook and instead shut it down manually using reflection.
Willingness to contribute
Search before asking
Description
Log4j2 registers a shutdown hook to perform cleanup operations. However, in the JVM, the execution order of multiple shutdown hooks is not guaranteed. This may cause Log4j2's shutdown hook to run before Fluss's shutdown hook, resulting in logs emitted during Fluss's shutdown phase not being captured.
We can disable Log4j2's shutdown hook and instead shut it down manually using reflection.
Willingness to contribute