Return-Path: Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 17768 invoked by uid 500); 4 Mar 2003 12:48:56 -0000 Mailing-List: contact dev-help@avalon.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list dev@avalon.apache.org Received: (qmail 17632 invoked from network); 4 Mar 2003 12:48:53 -0000 Received: from mail019.syd.optusnet.com.au (210.49.20.160) by daedalus.apache.org with SMTP; 4 Mar 2003 12:48:53 -0000 Received: from brainstem.dyndns.org (c17243.thoms1.vic.optusnet.com.au [210.49.246.103]) by mail019.syd.optusnet.com.au (8.11.6/8.11.6) with ESMTP id h24CmrU25213 for ; Tue, 4 Mar 2003 23:48:53 +1100 Content-Type: text/plain; charset="iso-8859-1" From: Peter Donald To: "Avalon Developers List" Subject: Re: [logkit] Closeable Date: Tue, 4 Mar 2003 19:25:48 +1100 User-Agent: KMail/1.4.2 References: <000e01c2e172$6a336670$0801a8c0@Lagrange> In-Reply-To: <000e01c2e172$6a336670$0801a8c0@Lagrange> X-Notice: Duplication and redistribution prohibited without consent of the author. X-Copyright: (C) 2002 Peter Donald. X-Wisdom: A right is not what someone gives you; it's what no one can take from you. MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200303041925.48710.peter@realityforge.org> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, 3 Mar 2003 21:48, Leo Sutic wrote: > > From: Peter Donald [mailto:peter@realityforge.org] > > > > Hi, > > > > I have added a Closeable interface into Logkit > > OK, but even with a closeable interface the question is: > > If a LogTarget wraps another LogTarget, should it > close the wrapped target when it is closed? > > The answer so far is *no*. OK, so we can solve this in > two ways (I'm sure there are more): Does it need solving? In many situations one target may be in a chain and= the=20 wrapper logtarget may wrap part of the chain. Having the wrapper close th= e=20 target could effect other targets who share the chains. Why can't a centr= al=20 manager component who tracks all targets do the closing? --=20 Cheers, Peter Donald ----------------------------------------------------- When a stupid man is doing something he's ashamed of,=20 he always declares that it is his duty. =09=09=09=09=09George Bernard Shaw=20 ----------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org