Return-Path: Delivered-To: apmail-excalibur-dev-archive@www.apache.org Received: (qmail 75436 invoked from network); 2 Aug 2004 12:51:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Aug 2004 12:51:48 -0000 Received: (qmail 47993 invoked by uid 500); 2 Aug 2004 12:51:48 -0000 Delivered-To: apmail-excalibur-dev-archive@excalibur.apache.org Received: (qmail 47953 invoked by uid 500); 2 Aug 2004 12:51:48 -0000 Mailing-List: contact dev-help@excalibur.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: List-Id: "Excalibur Developers List" Reply-To: "Excalibur Developers List" Delivered-To: mailing list dev@excalibur.apache.org Received: (qmail 47940 invoked by uid 99); 2 Aug 2004 12:51:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [130.89.1.92] (HELO netlx010.civ.utwente.nl) (130.89.1.92) by apache.org (qpsmtpd/0.27.1) with ESMTP; Mon, 02 Aug 2004 05:51:45 -0700 Received: from [130.89.136.43] (wlan136043.mobiel.utwente.nl [130.89.136.43]) by netlx010.civ.utwente.nl (8.11.7/HKD) with ESMTP id i72CpLk27503 for ; Mon, 2 Aug 2004 14:51:21 +0200 Message-ID: <410E38E5.80509@jicarilla.org> Date: Mon, 02 Aug 2004 14:51:49 +0200 From: Leo Simons User-Agent: Mozilla Thunderbird 0.6 (Macintosh/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Excalibur Developers List Subject: Re: Question about closing a LogKit PriorityFilteringTarget References: <4109DA6D.60008@tanukisoftware.com> In-Reply-To: <4109DA6D.60008@tanukisoftware.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact helpdesk@ITBE.utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-MailScanner-From: lsimons@jicarilla.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Leif Mortenson wrote: > I can not think of any reason why you would not want to > close down the wrapped log targets in the first place. IMHO in general if you wrap something you should not assume you can kill it off later. It's not quite as bad as trying to call stop()/dispose() on something you look up through a service manager, but it can have the same results :/ Rather, whatever creates the thing that is wrapped should kill that thing (thou shall cleane up thine owne mess). My guesss is the best solution is to refactor the relevant container/excalibur-logger code to keep track of all the real log targets (not just the wrapped stuff) and do the closing. But I'm blessed with infamiliarity with most of that code :-D cheers, - LSD --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@excalibur.apache.org For additional commands, e-mail: dev-help@excalibur.apache.org Apache Excalibur Project -- URL: http://excalibur.apache.org/