Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 57499 invoked from network); 2 Aug 2009 13:17:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Aug 2009 13:17:38 -0000 Received: (qmail 92143 invoked by uid 500); 2 Aug 2009 13:17:40 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 92058 invoked by uid 500); 2 Aug 2009 13:17:40 -0000 Mailing-List: contact log4j-user-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Users List" Reply-To: "Log4J Users List" Delivered-To: mailing list log4j-user@logging.apache.org Received: (qmail 92047 invoked by uid 99); 2 Aug 2009 13:17:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 13:17:40 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.246.118.4] (HELO gozo.interway.ch) (194.246.118.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 13:17:30 +0000 Received: from vista (ppp-93-104-54-184.dynamic.mnet-online.de [93.104.54.184]) (Authenticated sender: rene.guenther@innflow.com) by gozo.interway.ch (Postfix) with ESMTPA id ABE5D14782 for ; Sun, 2 Aug 2009 15:17:09 +0200 (CEST) From: =?utf-8?Q?=22G=C3=BCnther=2C_Rene_-_Innflow_AG=22?= To: "'Log4J Users List'" References: <003101ca136e$59daeb10$0d90c130$@guenther@innflow.com> <4A758EEE.3090104@cantorva.com> In-Reply-To: <4A758EEE.3090104@cantorva.com> Subject: AW: WG: Only partial logging with log.debug Date: Sun, 2 Aug 2009 15:17:07 +0200 Message-ID: <004001ca1373$896ae010$9c40a030$@guenther@innflow.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcoTcgaEU8apfH9vTN+WzRRSYfDTawAANM2Q Content-Language: de-ch X-Virus-Checked: Checked by ClamAV on apache.org I just solved it. I was just too dumb to see the error in my code. If anyone is interested: I was logging the same information twice: at = the beginning of the loop and at the end of the loop. Depending on some = variable I had a "continue;" statement in the middle. Obviously it run = the "continue;" for every step. The log.debug calls after the continue = never happened. I just saw the information that has been logged and I = thought that was because of my log.debug call at the end of the loop. = No, it was because the log.debug call at the beginning of the loop. Thanks anyway Rene -----Urspr=C3=BCngliche Nachricht----- Von: Simon Gibbs [mailto:simon.gibbs@cantorva.com]=20 Gesendet: Sonntag, 2. August 2009 15:05 An: Log4J Users List Betreff: Re: WG: Only partial logging with log.debug G=C3=BCnther, Rene - Innflow AG wrote: > The first appends a line in my logfile, the second call of debug=20 > doesn=E2=80=99t append anything. > > Any idea where to look at? > =20 What does the third statement do? If this is the last statement you are expecting and depending on your = appender it could be buffered. Try adjusting buffers. Simon --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org