Java日志 - 如何在项目中指定log4j.properties路径?
方法有3种
http://blog.csdn.net/knowledgeaaa/article/details/19617925
主要是第二种不得行
解决方案
-Dlog4j.configuration=file:file_root/log4j.properties
方法有3种
http://blog.csdn.net/knowledgeaaa/article/details/19617925
主要是第二种不得行
解决方案
-Dlog4j.configuration=file:file_root/log4j.properties