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 <[EMAIL PROTECTED]>:

>
>  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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to