请教个 log4j 指定配置文件的问题
freey 2007-07-27 03:04:23 想给log4j指定配置文件
就算在~/tomcat/common/classes已经存在log4j.properties也不理会
String fullFileName = “F:\Test\conf\log.conf";
if (fullFileName != null) {
PropertyConfigurator.configure( fullFileName );
}
Center.LOG = Logger.getLogger("");
这么写还是会读log4j.properties
怎么整?