Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 84338 invoked by uid 500); 2 Aug 2001 13:33:22 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 84326 invoked from network); 2 Aug 2001 13:33:21 -0000 Date: Thu, 2 Aug 2001 14:33:00 +0100 Content-Type: text/plain; format=flowed; charset=us-ascii X-Mailer: Apple Mail (2.388) From: Stuart Roebuck To: "Avalon Development" Mime-Version: 1.0 (Apple Message framework v388) In-Reply-To: <3B694F2F.4681F827@apache.org> Subject: Re: JDK1.4 logging vs. LogKit Content-Transfer-Encoding: 7bit Message-Id: X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Thursday, August 2, 2001, at 02:01 pm, Berin Loritsch wrote: > Peter, what do you think of adding two additional log levels > below DEBUG in LogKit? > > The new hierarchy of debug levels would be: > > INFRASTRUCTURE > CLASSLOADER > DEBUG > INFO > WARN > ERROR > FATAL_ERROR > > Alternatively, we could call them DEBUG3 and DEBUG2 respectively, > but it does not capture the intent of those log levels properly. Whilst I can see the real benefit of these in the Cocoon context you described, I wonder whether these levels are only really apparent in hindsight, and whether many writing specialist Cocoon Transformers would see Cocoon as INFRASTRUCTURE. How about providing mechanisms for displaying different levels of debugging output based on the package hierarchy so that you can do things like: "Display only WARN messages or above for org.apache.avalon.*, but all levels for everything else". If necessary an extra "DETAIL" / "LOW_LEVEL_DEBUG" or equivalent level could be added as well, though I sometimes wonder weather "DEBUG" is currently over used and "INFO" under used. Just my thoughts, Stuart. ------------------------------------------------------------------------- Stuart Roebuck stuart.roebuck@adolos.com Lead Developer Java, XML, MacOS X, XP, etc. ADOLOS --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org