Return-Path: Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 67541 invoked from network); 9 Jan 2001 09:59:47 -0000 Received: from monterosa.urbanet.ch (qmailr@195.202.193.104) by h31.sny.collab.net with SMTP; 9 Jan 2001 09:59:47 -0000 Received: (qmail 17216 invoked from network); 9 Jan 2001 09:59:46 -0000 Received: from unknown (HELO gil.urbanet.ch) (195.202.202.110) by monterosa.urbanet.ch with SMTP; 9 Jan 2001 09:59:46 -0000 Message-Id: <5.0.0.25.0.20010109105917.02564078@mail.urbanet.ch> X-Sender: urba19978@mail.urbanet.ch X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Tue, 09 Jan 2001 11:00:48 +0100 To: "LOG4J Users Mailing List" From: Ceki Gulcu Subject: Re: log different levels to different appenders Cc: "Alain RAVET" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N At 10:57 09.01.2001 +0100, you wrote: >Hi, > >This must be trivial, but I can't make it work : > >Is there a simple way to send different levels of messages coming from a >same category to different appenders? > >Examples : > all messages (DEBUG..ERROR) => a file > WARNING & ERROR => the console Alian, Yes, there is a way. Have a look a the Threshold option of AppenderSkeleton. Ceki