avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject Re: JDK1.4 logging vs. LogKit
Date Thu, 02 Aug 2001 13:33:00 GMT

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                                           <http://www.adolos.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: avalon-dev-help@jakarta.apache.org


Mime
View raw message