In Log4j 1, use the Java VM property -Dlog4j.debug . To find out where a log4j2.xml configuration file was loaded from inspect getClass().getResource("/log4j2.
確定! 回上一頁