Return-Path: Delivered-To: apmail-jakarta-log4j-user-archive@www.apache.org Received: (qmail 87710 invoked from network); 9 Oct 2003 21:32:32 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 9 Oct 2003 21:32:32 -0000 Received: (qmail 8611 invoked by uid 500); 9 Oct 2003 21:32:13 -0000 Delivered-To: apmail-jakarta-log4j-user-archive@jakarta.apache.org Received: (qmail 8599 invoked by uid 500); 9 Oct 2003 21:32:12 -0000 Mailing-List: contact log4j-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@jakarta.apache.org Received: (qmail 8585 invoked from network); 9 Oct 2003 21:32:12 -0000 Received: from unknown (HELO ike.local.anstat.com.au) (202.92.123.11) by daedalus.apache.org with SMTP; 9 Oct 2003 21:32:12 -0000 Received: from localhost.localdomain (pauls.local.anstat.com.au [192.168.222.57]) by ike.local.anstat.com.au with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2655.55) id T2FKSSPD; Fri, 10 Oct 2003 07:32:16 +1000 Subject: Re: SMTP Appender Threshold From: Paul Smith To: Log4J Users List In-Reply-To: <20031009151731.38812.qmail@web20005.mail.yahoo.com> References: <20031009151731.38812.qmail@web20005.mail.yahoo.com> Content-Type: text/plain Message-Id: <1065735136.3188.82.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.4 Date: Fri, 10 Oct 2003 07:32:16 +1000 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N By default, the SMTPAppender _waits_ for an ERROR level logging event to arrive, and sends with it the BufferSize # of previous events before it inside the email for use in context. Think of the Buffer as a sliding window of events that gets triggered by the arrival of Error. There are some configuration parameters to set which allow you to determine exactly what is the appropriate trigger, an ERROR level event is just the default. Consult the JavaDocs on the SMTPAppender for more information, or Ceki's book "The Complete Log4j Manual" is an excellent source for this. cheers, Paul On Fri, 2003-10-10 at 01:17, Ken Hoying wrote: > Ok. I seem to have the SMTP Appender working now but > it seems to be ignoring my Threshold property setting. > I want to test by sending DEBUG messages to teh SMTP > appender. However, it seems to be ignoring these. Is > this a bug? > > Thanks, > Ken > > __________________________________ > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > http://shopping.yahoo.com > > --------------------------------------------------------------------- > 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