logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <h...@visi.com>
Subject Re: Configuring a logger to be used with different levels for appenders
Date Fri, 23 Feb 2007 21:49:45 GMT

Set the level for the logger to "DEBUG" and set the threshold for the A1
appender to "INFO"....

<param name="Threshold" value="INFO"/>


Jake

Quoting sorin <sciolofan@hotmail.com>:

>
>  Hello!
>
>  I'd like to define a logger L with 2 appenders A1 (console) and A2 (file).
> I'd like to write with A1 only INFO messages and with A2 both DEBUG and INFO
> messages. How can I do this? Can I set the level for a specific appender?
>
> Thanks
> Sorin
> --
> View this message in context:
>
http://www.nabble.com/Configuring-a-logger-to-be-used-with-different-levels-for-appenders-tf3278037.html#a9116463
> Sent from the Log4j - Dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-dev-help@logging.apache.org
>




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


Mime
View raw message