logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Stauffer <stauffer.ja...@gmail.com>
Subject Re: Appenders with different levels on the same looger, how?
Date Wed, 20 Jul 2005 13:53:28 GMT
Yes, just set the threshold to ERROR on the ConsoleAppender and the
level to info on the logger.

On 7/20/05, Ricardo Lopes <A448@alunos.ipca.pt> wrote:
> Hi,
> 
> Can anybody tell me how can i have on the same looger (ex.
> log4j.rootLogger) two different appenders, one for level ERROR or higher
> that is a ConsoleAppender and the other for level INFO or higher that is
> a FileAppender?
> 
> Is it possible?
> 
> Thanks,
> Ricardo Lopes.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 


-- 
James Stauffer
Are you good? Take the test at http://www.livingwaters.com/good/

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message