0 Replies Latest reply on Jun 15, 2018 11:57 PM by seto

    Shutdown hook problem and log4j2

    seto

      Hi. Here's a simple enough project.

      GitHub - SetoKaiba/weldtest

       

      Uncomment these lines and use shutdown hook. The log will be cleared.

      It seems that the logging is booted for twice. Because I use append="false" in log4j2.xml.

      Is it intended? Or am I miss something?

      // synchronized (kernel) {
      // kernel.wait();
      // }