# HG changeset patch # User Maxim Dounin # Date 1383178373 -14400 # Node ID 2bb2571d6e3420bfa8b7a7fa277778ace9647d56 # Parent c21e341c51cbc64c234d6d1bb36489bf797741c2 Gunzip: "error" logging level on inflate() errors. Errors can easily happen due to broken upstream responses, there is no need to log them at "alert" level. diff --git a/src/http/modules/ngx_http_gunzip_filter_module.c b/src/http/modules/ngx_http_gunzip_filter_module.c --- a/src/http/modules/ngx_http_gunzip_filter_module.c +++ b/src/http/modules/ngx_http_gunzip_filter_module.c @@ -422,7 +422,7 @@ ngx_http_gunzip_filter_inflate(ngx_http_ rc = inflate(&ctx->zstream, ctx->flush); if (rc != Z_OK && rc != Z_STREAM_END && rc != Z_BUF_ERROR) { - ngx_log_error(NGX_LOG_ALERT, r->connection->log, 0, + ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "inflate() failed: %d, %d", ctx->flush, rc); return NGX_ERROR; }