Welcome! Log In Create A New Profile

Advanced

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

Maxim Dounin
October 30, 2013 08:08PM
details: http://hg.nginx.org/nginx/rev/c37f34bda5ea
branches:
changeset: 5433:c37f34bda5ea
user: Maxim Dounin <mdounin@mdounin.ru>
date: Thu Oct 31 04:02:21 2013 +0400
description:
Auth basic: "info" logging level on no user/password.

This isn't an exceptional condition and normally happens on
first request from a client.

diffstat:

src/http/modules/ngx_http_auth_basic_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff --git a/src/http/modules/ngx_http_auth_basic_module.c b/src/http/modules/ngx_http_auth_basic_module.c
--- 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);

_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

Maxim Dounin 1083 October 30, 2013 08:08PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 129
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready