logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Levinson <Stephen.Levin...@sun.com>
Subject RE: filter on appenders, not on category
Date Thu, 06 Sep 2001 14:45:19 GMT
YES!... See "Is it possible to direct log output to different appenders by
priority" in the log4j/docs/FAQ.html

--Stephen

-----Original Message-----
From: Alain RAVET [mailto:aravet@cirb.irisnet.be]
Sent: Thursday, September 06, 2001 10:45 AM
To: LOG4J Users Mailing List
Subject: filter on appenders, not on category


Hi,
Is it possible to "filter" by target (appender), and not by source
(category).

Example : 
I want to send logs 
  - of all 5 priorities to chainsaw (where I can filter easily)
  - of ERROR and FATAL priorities to the ConsoleAppender

Is this possible ?

Alain Ravet
Brussels, Belgium

This mail has been checked by exiscan.
To be safe, please scan the mail attachements with your local virus scanner
!

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

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


Mime
View raw message