log4j可以设置root级别
log4j.rootLogger=INFO, stdout1也可以设置指定的子目录的log级别
log4j.logger.myclass=DEBUG,stdout请问为什么同时设置以上两个在log4j.properties中时,myclass目录下的程序写日志时做一两遍
如:private static Logger logger = Logger
    .getLogger(LogbyInit.class.getName());

public static void main(String[] args) {
logger.debug("here is some debug");  //会打出两次????
}我只是想指定myclass目录下的为debug组.其它目录下的可同root目录