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

Reply via email to