Hi,

I am wondering if it is possible to configure multiple level for one logger?

For example,

log4j.logger.com.mycompany.mypackage=WARN, Appender1, Appender2
log4j.logger.com.mycompany,mypackage=DEBUG, Appender3, Appender4

Currently it appears that log4j only accepts one level, in fact the last
one.  
This, then, requires the developers to use different logger (or category)
for 
each level of logging in the code rather than configuring different appender

for different kinds of level.  As such, this might lead to more code
changes.

Just a suggestion.

Thanks,
Mike Liu

Reply via email to