From 97f4cf1bd9764fde7efd0f53affcc7ff310249a9 Mon Sep 17 00:00:00 2001 From: Victor Hora Date: Mon, 29 May 2017 17:05:01 -0400 Subject: [PATCH] Fixes issue #1432 by not logging normal behavior to error.log and using APLOG_DEBUG instead --- apache2/mod_security2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apache2/mod_security2.c b/apache2/mod_security2.c index f4db2ac835..b6e98e9dcd 100644 --- a/apache2/mod_security2.c +++ b/apache2/mod_security2.c @@ -1494,7 +1494,7 @@ static int hook_connection_early(conn_rec *conn) } } - ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, conn, + ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, conn, "ModSecurity: going to loop through %d servers with %d threads", server_limit, thread_limit); for (i = 0; i < server_limit; ++i) { @@ -1526,7 +1526,7 @@ static int hook_connection_early(conn_rec *conn) } } - ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, conn, + ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, conn, "ModSecurity: threads in READ: %ld of %ld, WRITE: %ld of %ld, IP: %s", ip_count_r, conn_read_state_limit, ip_count_w, conn_write_state_limit, client_ip);