httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Ruggeri <DRugg...@primary.net>
Subject Re: Error codes
Date Wed, 30 Nov 2011 11:40:24 GMT
On 11/30/2011 2:09 AM, Stefan Fritsch wrote:
> Another thought: Would having the AH0815 numbers verbatim in the 
> source actually hurt search engine users because they get hits on 
> svn.apache.org, github, and whatever. Maybe a macro that hides the 
> actual form would be better?
>
> #define APLOGNO(n)  "AH" #n
>
> should do the trick. The source would then contain
>
> ap_log_error(..., APLOGNO(0815) "foo went wrong", ...);

+1 To me, this is a must. This also adds a somewhat handy "anchor" when
searching for log entries in code that may or may not span multiple lines.

-- 
Daniel Ruggeri


Mime
View raw message