问题

    1. 使用 AsyncAppender ,当不属于Log4j 2的非守护线程都已结束时,JVM不能退出,要调用 org.apache.logging.log4j.LogManager.shutdown() 方法,才能使JVM退出。