log4j代码设置错误
fileAppender = new DailyRollingFileAppender();
fileAppender.setName("container-file");
fileAppender.setAppend(true);
fileAppender.setLayout(normalLayout);
上面用代码设置log4j结果出现如下问题
log4j:WARN File option not set for appender [container-file].
log4j:WARN Are you using FileAppender instead of ConsoleAppender?
log4j:ERROR Either File or DatePattern options are not set for appender [container-file].
--------------------编程问答-------------------- 大神们都出去逛街去了?
补充:Java , Java EE