logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Assaf Lavie <assafla...@gmail.com>
Subject Re: Is it possible to configure appenders per log level?
Date Mon, 18 May 2009 13:21:32 GMT
Thanks.I didn't know I could set the level on an appender.
What's the syntax for that in the config file? (I couldn't find it in the
docs)


On Mon, May 18, 2009 at 4:18 PM, Curt Arnold <carnold@apache.org> wrote:

> 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