Return-Path: X-Original-To: apmail-commons-dev-archive@www.apache.org Delivered-To: apmail-commons-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE2DF91C3 for ; Sat, 11 Feb 2012 03:49:25 +0000 (UTC) Received: (qmail 20864 invoked by uid 500); 11 Feb 2012 03:49:18 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 20373 invoked by uid 500); 11 Feb 2012 03:49:09 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 20363 invoked by uid 99); 11 Feb 2012 03:49:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Feb 2012 03:49:03 +0000 X-ASF-Spam-Status: No, hits=0.2 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,STOX_REPLY_TYPE X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of billwbarker@verizon.net designates 206.46.173.3 as permitted sender) Received: from [206.46.173.3] (HELO vms173003pub.verizon.net) (206.46.173.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Feb 2012 03:48:53 +0000 Received: from BillPC ([unknown] [71.107.56.4]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LZ70092ZMKD1F80@vms173003.mailsrvcs.net> for dev@commons.apache.org; Fri, 10 Feb 2012 21:48:14 -0600 (CST) Message-id: From: "Bill Barker" To: "Commons Developers List" References: <4F3447E6.5060404@apache.org> In-reply-to: <4F3447E6.5060404@apache.org> Subject: Re: [DISCUSS][POOL] Logging options for Pool2 Date: Fri, 10 Feb 2012 19:48:10 -0800 MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=iso-8859-1; reply-type=original Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3538.513 X-MIMEOLE: Produced By Microsoft MimeOLE V15.4.3538.513 X-Virus-Checked: Checked by ClamAV on apache.org I'm not involved with [POOL] (so this is mostly from the peanut gallery), but do strongly think that logging should be minimal for such a low level component. As such, if there needs to be any logging at all, it should use JUL. While it would be nice in a development environment so see my bone headed errors (where I have full control over logging levels with JULI that I currently use in Tomcat), I want [POOL] to be completely silent in a production environment. So it should be a lot of work to configure logging for [POOL] to be higher than DEBUG/TRACE level in a production environment, since you already screwed up by releasing the code in the first place. -----Original Message----- From: Mark Thomas Sent: Thursday, February 09, 2012 2:25 PM To: Commons Developers List Subject: [DISCUSS][POOL] Logging options for Pool2 One of the big design decisions left for pool2 is whether or not to add logging. If logging is added then that opens up the what to log and with which logging framework questions. I do think some form of logging is required. See POOL-131 for one example of where logging could be useful. I have a preference for commons-logging. Partly since it is eating our own dog food, partly because it will make updating Tomcat to use pool2 easier. I did have a random thought that we could do zero logging but emit JMX notifications if JMX was enabled. It avoids the "which framework" debate but uses an approach that is far less widely used in my experience. All this is because I am (hopefully) getting close to the point where the pool2 code is ready for an alpha release. Thoughts? Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org