Am 22.02.2016 um 22:48 schrieb Marion & Christophe JAILLET:
Le 22/02/2016 22:21, Rainer Jung a écrit :
Am 15.02.2016 um 07:28 schrieb Christophe JAILLET:
Le 10/02/2016 00:09, [email protected] a écrit :
Modified: httpd/httpd/branches/2.4.x/server/mpm/event/event.c
URL:
http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/mpm/event/event.c?rev=1729495&r1=1729494&r2=1729495&view=diff
@@ -3245,7 +3247,7 @@ static int event_check_config(apr_pool_t
ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP,
0, NULL, APLOGNO(00497)
"WARNING: ServerLimit of %d exceeds
compile-time "
"limit of", server_limit);
- ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP,
0, NULL,
+ ap_log_error(APLOG_MARK, APLOG_WARNING | APLOG_STARTUP,
0, NULL, APLOGNO(03105)
" %d servers, decreasing to %d.",
MAX_SERVER_LIMIT, MAX_SERVER_LIMIT);
} else {
Should we really add an APLOGNO here? It looks like a multi-line log
message.
This is the same for APLOGNO(03105) --> APLOGNO(03116) in event.c.
Similar code can also be found in other MPM.
You are right. I wonder whether we actually want to reformat those
startup messages to single (long) line messages. What do you (and
others) think?
Regards,
Rainer
+1, it is what I had in mind to clarify and avoid false positive when
using coccinelle.
Commited in r1731929.
Regards,
Rainer