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.

Reply via email to