httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Slemko <ma...@worldgate.com>
Subject Re: new log bleh
Date Mon, 15 Sep 1997 04:51:49 GMT
On Sun, 14 Sep 1997, Dean Gaudet wrote:

> - add logging levels to the existing special functions like log_unixerr
>     which is supposed to log errno, then use this when you want the
>     errno included.
> 
> - remove automatic errno printing in aplog_printf
> 
> - remove the numeric errno

Keep the numeric errno in the log_unixerr equiv.  There is often 
no nice way to go from strerror(errno) to errno, and I have seen
some very obscene translations from errno to text.

> 
> - remove the filename/line numbers, make them a #define or something if you
>     want... but I guarantee that as soon as we make a release and we
>     get reports of an error on a specific line I'll be searching for the
>     text, not the line number when a user submits an error report.
>     Because our code base will be different than what the user is using.
> 
>     I'd really hate it if the existance of file/line becomes a crutch when
>     we add new messages in the future -- i.e. that we're not descriptive
>     enough in the new messages to distinguish them from other messages
>     in the code.

I kindof like this feature.  Even with a different source base,
the filename is useful.



Mime
View raw message