I'm trying to duplicate WARN logs to a separate file by using the below 
log4j.properties.

        log4j.rootLogger       = WARN, <appender_1>
        log4j.logger.MYLOG     = ALL, <appender_2>
        log4j.additivity.MYLOG = true

However, appender_1 contains more stuff than I want.

Am I wrong to expect that rootlogger will filter out all logs other thatn MYLOG 
@ <WARN> or <ERROR>?  Am I confusing level inheritance down to children loggers 
vs. filter of children logs by parent loggers?  Is the latter not supported by 
Log4j?

I'm using version 1.2.15.

Thanks for any help.

- Howard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to