httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: Question about APLOGNO
Date Tue, 22 Jul 2014 13:32:36 GMT
On Saturday 19 July 2014 20:04:09, Christophe JAILLET wrote:
> Using the following regex:
>     ap_log_.?error.*(_ERR|_EMERG|_CRIT)[^A]*$
> 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.

There is also the coccinelle script docs/log-message-tags/find-
messages.cocci which is smarter than what can be done with regexes. 
However, it is quite possible that it needs updating to newer 
coccinelle versions and/or current development in httpd. docs/log-
message-tags/README has a paragraph about its usage.


Mime
View raw message