Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 757 invoked from network); 10 Jan 2002 18:48:12 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Jan 2002 18:48:12 -0000 Received: (qmail 29259 invoked by uid 97); 10 Jan 2002 18:48:13 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 29243 invoked by uid 97); 10 Jan 2002 18:48:13 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 29232 invoked from network); 10 Jan 2002 18:48:12 -0000 Date: Thu, 10 Jan 2002 18:49:09 +0000 Subject: Re: how should log levels work? [Was Re: [Logging] default log level] Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v475) From: robert burrell donkin To: "Jakarta Commons Developers List" Content-Transfer-Encoding: 7bit In-Reply-To: <458473676F1AC74A84EAB2F22004DA6DD889@mail.nextance.com> Message-Id: X-Mailer: Apple Mail (2.475) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wednesday, January 9, 2002, at 11:19 PM, Scott Sanders wrote: > From what you are saying then I would like to propose Paulo's suggestion > of removing setLevel(). The slippery slope is much too steep :( now i'm thinking about it, this route has difficulties as well. some loggers (eg. LogKit) think that being able to get the current priority for the logger is too much of a security risk. so you can't rely on the wrapper being able to get a decent value for getLogLevel. components would therefore have to avoid using this the getter since the effect would be log system dependent. so i guess that if you're removing the setter there' s an argument for removing getter as well. - robert -- To unsubscribe, e-mail: For additional commands, e-mail: