Proxy: logging levels tuned, double logging fixed.
diff --git a/src/http/modules/ngx_http_proxy_module.c b/src/http/modules/ngx_http_proxy_module.c index 78e2765..a8bbff6 100644 --- a/src/http/modules/ngx_http_proxy_module.c +++ b/src/http/modules/ngx_http_proxy_module.c
@@ -1559,7 +1559,7 @@ r = p->input_ctx; p->upstream_done = 1; - ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, + ngx_log_error(NGX_LOG_WARN, r->connection->log, 0, "upstream sent too many data"); } @@ -1817,9 +1817,6 @@ invalid: - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, - "upstream sent invalid chunked response"); - return NGX_ERROR; } @@ -1933,7 +1930,7 @@ /* invalid response */ - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, + ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "upstream sent invalid chunked response"); return NGX_ERROR; @@ -2089,7 +2086,7 @@ /* invalid response */ - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, + ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "upstream sent invalid chunked response"); return NGX_ERROR;