diff --git a/CHANGES b/CHANGES index 04b2252..5dc1405 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,7 @@ v1.0.x - YYYY-MMM-DD (To be released) ------------------------------------- + - Increase log level for disruptive actions to "error" + [Issue #112 - @victorhora ] - Fix processing of response body when gzip compression is enabled [Issue #107 - @turchanov] - Fixed processing of response body chunks in diff --git a/src/ngx_http_modsecurity_module.c b/src/ngx_http_modsecurity_module.c index 0c491cc..c509834 100644 --- a/src/ngx_http_modsecurity_module.c +++ b/src/ngx_http_modsecurity_module.c @@ -151,7 +151,7 @@ ngx_http_modsecurity_process_intervention (Transaction *transaction, ngx_http_re log = "(no log message was specified)"; } - ngx_log_error(NGX_LOG_WARN, (ngx_log_t *)r->connection->log, 0, "%s", log); + ngx_log_error(NGX_LOG_ERR, (ngx_log_t *)r->connection->log, 0, "%s", log); if (intervention.log != NULL) { free(intervention.log);