Skip to content

Commit 8217a50

Browse files
committed
Update
1 parent 5e9dbba commit 8217a50

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ngx_http_if_request_body_module.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -355,16 +355,15 @@ ngx_http_if_request_body_filter(ngx_http_request_t *r) {
355355
// If the current handler is the last in the current phase, move to the next phase.
356356
SKIP_CHECKING:
357357
// VARIABLE MAP RULE EXTRA BONUS CHECK REGARDLESS have body or not
358-
ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, "Checking map rule");
359358
if( bcf->return_if_variable_map_to != NULL ){
360-
ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, "Checking map rule process");
359+
ngx_log_debug0(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "Checking map rule process");
361360

362361
map_rules = bcf->return_if_variable_map_to->elts;
363362
nelts = bcf->return_if_variable_map_to->nelts;
364363

365364
for (i = 0; i < nelts; i++) {
366365
if (ngx_http_complex_value(r, &map_rules->rule, &check_value) == NGX_OK) {
367-
ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, "the value is %V", &check_value);
366+
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "the value is %V", &check_value);
368367

369368
if(check_value.len > 0) {
370369
ngx_int_t status = ngx_atoi(check_value.data, check_value.len);

0 commit comments

Comments
 (0)