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 [EMAIL PROTECTED] Lead Developer Java, XML, MacOS X, XP, etc. ADOLOS <http://www.adolos.com/>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
