Skip to content

Commit 1684400

Browse files
victorhoraFelipe Zimmerle
authored andcommitted
Fixes issue #1432 by not logging normal behavior to error.log and using APLOG_DEBUG instead
1 parent 624bd2b commit 1684400

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apache2/mod_security2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,7 +1494,7 @@ static int hook_connection_early(conn_rec *conn)
14941494
}
14951495
}
14961496

1497-
ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, conn,
1497+
ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, conn,
14981498
"ModSecurity: going to loop through %d servers with %d threads",
14991499
server_limit, thread_limit);
15001500
for (i = 0; i < server_limit; ++i) {
@@ -1526,7 +1526,7 @@ static int hook_connection_early(conn_rec *conn)
15261526
}
15271527
}
15281528

1529-
ap_log_cerror(APLOG_MARK, APLOG_WARNING, 0, conn,
1529+
ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, conn,
15301530
"ModSecurity: threads in READ: %ld of %ld, WRITE: %ld of %ld, IP: %s",
15311531
ip_count_r, conn_read_state_limit, ip_count_w, conn_write_state_limit, client_ip);
15321532

0 commit comments

Comments
 (0)