67,549
社区成员




public class Notice extends Level
{
private static final long serialVersionUID = 1L;
public Notice(int level, String levelStr, int syslogEquivalent)
{
super(level, levelStr, syslogEquivalent);
}
}
public interface Levelface
{
public static final Level NOTICE_LEVEL = new Notice(Priority.ERROR_INT-50, "notice", SyslogAppender.LOG_LOCAL0);
}
我在log4j.properties中的配置如下:
log4j.rootLogger= NOTICE_LEVEL ,A1
但是却把debug info warn error等级别都打印出来了。