Hi,
How about org.apache.log4j.varia.LevelRangeFilter with levelMin=DEBUG,
levelMax=INFO, acceptOnMatch=true ?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Jean-Michel Auguste [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, February 20, 2003 11:55 AM
>To: [EMAIL PROTECTED]
>Subject: Filter ?
>
>Hi,
>
>I've set up a log4j configuration file defining 2 file appenders
>(equivalent to stdout and stderr).
>I want to append messages of level WARN and above on stderr. I can do
that
>specifying a THRESHOLD to WARN I can imagine,
>but how  to proceed to append messages of level DEBUG and INFO only in
>stdout ? Should I have to define a filter ?
>If so, can anyone give an example ?
>Thanks for your help.
>
>Jean-Michel Auguste



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

  • Filter ? Jean-Michel Auguste
    • Shapira, Yoav

Reply via email to