From 869b4f36e51c602d046ba9b74af86a21c82ce6bf Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Thu, 31 Oct 2013 04:02:21 +0400 Subject: [PATCH] Auth basic: "info" logging level on no user/password. This isn't an exceptional condition and normally happens on first request from a client. --- src/http/modules/ngx_http_auth_basic_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http/modules/ngx_http_auth_basic_module.c b/src/http/modules/ngx_http_auth_basic_module.c index e8709e5e9..8ec53295f 100644 --- a/src/http/modules/ngx_http_auth_basic_module.c +++ b/src/http/modules/ngx_http_auth_basic_module.c @@ -137,7 +137,7 @@ ngx_http_auth_basic_handler(ngx_http_request_t *r) if (rc == NGX_DECLINED) { - ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, + ngx_log_error(NGX_LOG_INFO, r->connection->log, 0, "no user/password was provided for basic authentication"); return ngx_http_auth_basic_set_realm(r, &realm);