Return-Path: Delivered-To: apmail-logging-log4j-user-archive@www.apache.org Received: (qmail 50510 invoked from network); 28 Feb 2011 15:27:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Feb 2011 15:27:47 -0000 Received: (qmail 83814 invoked by uid 500); 28 Feb 2011 15:27:47 -0000 Delivered-To: apmail-logging-log4j-user-archive@logging.apache.org Received: (qmail 83438 invoked by uid 500); 28 Feb 2011 15:27:44 -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 83419 invoked by uid 99); 28 Feb 2011 15:27:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 15:27:43 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of grobmeier@gmail.com designates 209.85.216.175 as permitted sender) Received: from [209.85.216.175] (HELO mail-qy0-f175.google.com) (209.85.216.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 15:27:35 +0000 Received: by qyk35 with SMTP id 35so2157857qyk.13 for ; Mon, 28 Feb 2011 07:27:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=c+DiRdwXK+XtXZFUuc8wHgoal+tqpmsGYV5diMSIovY=; b=gRoCM0ehInkk/DiETf2hiQVVRgv9mgkWZERGYQD8rgvtpkofvoh7RN5CwaaB6gaFu7 hJhmlAXR4Fxa2bn1TQ3qrVB3AquQAfqAcKOz21f1lCfqTY3sAnEEndOuxXY3vFKlOv3i CiRYWbI+RO5T4flND9xZj4z1JikvO4ls/0fAc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=ctnuKbCUMeqVmwXH3Y5X3b/JGY1LkyGauncK8cAb9lHKzk8ZGSb0oBJF9OUD79DToY //ey4eEC39WM/NaxMW3/57RP9rhg2VeKNNeSytib61NxkvBT8909YgaH1g8j4knr+Uqu z65TYWgu4WYZmDfhIIwU4ZS5iEmQOpqoOmPg4= Received: by 10.229.110.10 with SMTP id l10mr4350001qcp.56.1298906834515; Mon, 28 Feb 2011 07:27:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.29.81 with HTTP; Mon, 28 Feb 2011 07:26:54 -0800 (PST) In-Reply-To: <4D6BBCB9.5060306@freenet.de> References: <4D5E7BC6.9010402@freenet.de> <4D6B7BEC.3020307@freenet.de> <4D6BB8DC.2070604@freenet.de> <4D6BBCB9.5060306@freenet.de> From: Christian Grobmeier Date: Mon, 28 Feb 2011 16:26:54 +0100 Message-ID: Subject: Re: Log4j closes System.err To: Log4J Users List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org > > activateOptions calls WriterAppender.setWriter(), which first calls reset(), > which in turn calls closeWriter(). > see > https://svn.apache.org/repos/asf/logging/log4j/trunk/src/main/java/org/apache/log4j/WriterAppender.java > (the base class of ConsoleAppender containing all mentioned methods) yes, but its creating a new quiet writer afterwards. so you should be able to write to another stream, right? --------------------------------------------------------------------- To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org For additional commands, e-mail: log4j-user-help@logging.apache.org