logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Is it possible to configure appenders per log level?
Date Mon, 18 May 2009 13:18:25 GMT
Set the level on the root logger to DEBUG (so all appenders see DEBUG  
and higher logging requests) and the threshold on some appenders to  
ERROR so they discard logging requests below ERROR.


On May 18, 2009, at 8:07 AM, Assaf Lavie wrote:

> Hi,
>
> Is it possible to configure the log in such a way that, for example,  
> errors reach all appenders (e.g. file, console) but DEBUG only  
> reaches some appenders (e.g. only console)?
>
> Thanks,
> Assaf


Mime
View raw message