httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@decus.org (Rodent of Unusual Size)
Subject Re: [PATCH] loglevels
Date Sat, 12 Jul 1997 16:09:01 GMT
>From the fingers of (I forget whom) flowed the following:
>
>> Although I like the idea of different error logging levels, one
>> thing that has always bothered me with the concept (in general)
>> is that what is "information" and what is "debugging" is murky.

    There are some things about a wholly-hierarchical model that bother
    me, at least one that has only a single hierarchy.  If you want to
    see results that are normally logged at INFO level, you
    automatically have to include everything above it as well.

    I'd like to see a combination of a level and a mask.  Assuming a set
    of levels (e.g., CRITICAL, HIGH, MEDIUM, LOW, and INFO), the
    loglevel would indicate that events of that level and higher should
    be logged - but the mask would let you additionally log events at a
    specific level.  E.g., loglevel=HIGH and mask=LOW|INFO would log
    everything except MEDIUM.

    I'd also like to see a set of unhierarchical categories (call 'em
    COND_A through COND_E) that would require explicit enabling.  That
    could assist in debugging without disturbing the actual
    error-logging configuration.

    Oh, and I like the idea of being able to increment/decrement the
    active logging level with signals, a la named, but with USR1 already
    bound to graceful restarts that might be difficult.

    All right, I'm donning my asbestos tuxedo now..

    #ken    :-)}

Mime
View raw message