On Thu, 2 Aug 2001 23:33, Stuart Roebuck wrote:
> 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?
-1, INFRASTRUCTURE and CLASSLOADER are not priorities but categories. The way
you should be doing it is creating categories like
cocoon.classloader
cocoon.infrastructure
cocoon.xsp.compiling
cocoon.xsp.running
cocoon.some-other-component-here
then assign different priorities to different categories. ie Turn classloader
to debug, compiling to fatal, etc. Each different component that you
potentially want to log at a different level can be a different category.
> 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.
Simple to do if you name the categories after package name.
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]