log4j file 路径 默认以System.getProperty("user.dir")为准用LOGGER.warn(System.getProperty("user.dir"));查看,是准确的,不要用System.out.println(System.getProperty("user.dir"));查看null