httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christophe JAILLET <>
Subject Question about APLOGNO
Date Sat, 19 Jul 2014 18:04:09 GMT

I was wondering if logged message, at least APLOG_ERR or APLOG_EMERG and 
APLOG_CRIT, should all have a corresponding APLOGNO()?

Using the following regex:
many places with "missing" APLOGNO can be found.

There are some false positives because the [^A]* at the end of the regex 
is here to check, in a more or less good way, the absence of APLOGNO.
Most common mistakes are when APLOGNO is on the following line.

If you think that adding the APLOGNO would be improvement, would you 
like me to:
     1) propose patches that put back APLOGNO on the same line as 
ap_log_.?error, which seems to be the most common

     2) add APLOGNO missing for APLOG_ERR, APLOG_EMERG and APLOG_CRIT?

     3) only add these APLOGNO for new modules (mod_ssl_ct and 
associated files need many)

Best regards,

View raw message