log4j file 路径

默认以System.getProperty("user.dir")为准

LOGGER.warn(System.getProperty("user.dir"));查看,是准确的,

不要用System.out.println(System.getProperty("user.dir"));查看




原文地址:https://www.cnblogs.com/stit/p/6368978.html