Skip to content

Commit 475e1d5

Browse files
author
Felipe Zimmerle
committed
Increase log level for disruptive actions to "error" (x2)
As discussed at: #116
1 parent fc061a5 commit 475e1d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_modsecurity_module.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ ngx_http_modsecurity_process_intervention (Transaction *transaction, ngx_http_re
151151
log = "(no log message was specified)";
152152
}
153153

154-
ngx_log_error(NGX_LOG_WARN, (ngx_log_t *)r->connection->log, 0, "%s", log);
154+
ngx_log_error(NGX_LOG_ERR, (ngx_log_t *)r->connection->log, 0, "%s", log);
155155

156156
if (intervention.log != NULL) {
157157
free(intervention.log);

0 commit comments

Comments
 (0)