changeset 5433:c37f34bda5ea

Auth basic: "info" logging level on no user/password. This isn't an exceptional condition and normally happens on first request from a client.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 31 Oct 2013 04:02:21 +0400
parents c52a761a2029
children c21e341c51cb
files src/http/modules/ngx_http_auth_basic_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_req
 
     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);