On Jan 8, 2009, at 6:24 AM, Luciano Izquierdo wrote:
Hi, thanks for your answer.
But your solution is if I will have only two appenders.
That does not serve me because I have more than two appenders, then
if I
change the root logger, the others appenders and loggers can be
broken.
I need a solution without changing de rootLogger.
My application have many loggers and appenders.
How can I do?
The same principle should work, set the level of the logger to the
lower level and the threshold of the appender with the higher level.
log4j.logger.Logger1=DEBUG,Appender1,Appender2
log4j.appender.Appender2.threshold=ERROR
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]