You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Jean-Michel Auguste <au...@yahoo.fr> on 2003/02/20 17:54:35 UTC

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