httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@algroup.co.uk>
Subject Re: [PATCH] loglevels (continued)
Date Sat, 26 Jul 1997 19:35:47 GMT
Randy Terbush wrote:
> 
> I have some time today to spend on this and would like to put it to
> rest.
> 
> I spent some time implementing Dirk's suggested levels outlined
> below.
> 
> /* 0xABCD
>  *
>  * A = 0,1      fatal/non-fatal
>  * B = 0..3     investigate now ... ignore
>  * C = 0,1      expected / unexpected
>  * D = 0...F    boring .. really cool
>  */
> #define APLOG_INT               0x1314  /* fatal Apache error occured, abort */
> #define APLOG_FATAL             0x1203  /* fatal system error occured, abort */
> #define APLOG_TERM              0x1102  /* Apache had to terminate */
> #define APLOG_CNF_ERROR         0x1012  /* config error, cannot continue */
> #define APLOG_CNF_CONFLICT      0x1001  /* config conflict, cannot continue */
> #define APLOG_CNF_WARNING       0x0000  /* configuration warning */
> #define APLOG_ERROR             0x0314  /* error occured, submit bug report */
> #define APLOG_SERIOUS           0x0203  /* serious error, check the docs/faq */
> #define APLOG_WARNING           0x0102  /* warning, investigate */
> #define APLOG_INFO              0x0001  /* general information */
> #define APLOG_DEBUG             0x0000  /* cause we are humans */
> #define DEFAULT_LOGLEVEL        APLOG_ERROR
> 
> However, it still presents the limitations that Ken argues against
> below. I would like to tackle this using Ken's suggestions. If
> there is anyone present who absolutely hates the methods below,
> please speak up now so that I don't waste time.

This is partly what I had in mind for Explain, in the end. One of the
touches I thought would be useful would be to be able to filter by the
source file name/line number, which would give the ultimate in fine
control over what exactly is traced. Naturally, one can determine what
to filter simply by examing the output without filtering.

Cheers,

Ben.

-- 
Ben Laurie                Phone: +44 (181) 994 6435  Email:
ben@algroup.co.uk
Freelance Consultant and  Fax:   +44 (181) 994 6472
Technical Director        URL: http://www.algroup.co.uk/Apache-SSL
A.L. Digital Ltd,         Apache Group member (http://www.apache.org)
London, England.          Apache-SSL author

Mime
View raw message