Auth basic: "info" logging level on no user/password.

This isn't an exceptional condition and normally happens on
first request from a client.
This commit is contained in:
Maxim Dounin 2013-10-31 04:02:21 +04:00
parent 3d3fa2adc6
commit 869b4f36e5

View File

@ -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);