logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James A. N. Stauffer" <stauffer.ja...@gmail.com>
Subject Re: Can I send all logs of a specific Level to a specific Appender?
Date Thu, 20 Dec 2007 02:04:23 GMT
Yes you can.  Set the threadhold on each appender to set the minimum
level and use a LevelFilter to set the maximum level.

On Dec 19, 2007 7:41 PM, Néstor Boscán <nestor.boscan@tcs.com.ve> wrote:
> Hi
> Is there a way to send all log messages that are associated with a specific
> level to an appender that is not the same as the default configured
> appender?. Can I send for example INFO to a file and WARN to another file?
> Regards,
> Néstor Boscán

James A. N. Stauffer        http://www.geocities.com/stauffer_james/
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

View raw message