Re: is it possible to have different log level for same package

2011-05-24 Thread Curt Arnold
Set the logger's level to the lower level and one of the appenders to a higher level. The event will get pass the check on the logger and will pass the check on one of the appenders and not the other. log4j.logger.com.foo.hello=DEBUG,FOO_1,FOO_2 log4j.appender.FOO_1.threshold=ERROR On May 17,

RE: is it possible to have different log level for same package

2011-05-23 Thread Bender Heri
I am not sure about properties configuration. But with xml configuration I would do: - define one logger (your package name, level debug) - assign two appenders to this logger: - appender1: with level range filter error and higher - appender2: without level range filter Heri > -Orig