Skip to content

Commit e67df3d

Browse files
committed
change error to debug
1 parent 82d79f8 commit e67df3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ngx_http_auth_ldap_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2236,7 +2236,7 @@ ngx_http_auth_ldap_check_group(ngx_http_request_t *r, ngx_http_auth_ldap_ctx_t *
22362236
r->pool,
22372237
for_filter);
22382238
ngx_sprintf(filter, "(&(%s)(%s=%s))", cn_gr, ctx->server->group_attribute.data, user_val);
2239-
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "http_auth_ldap: Search group filter is \"%s\"", (const char *) filter);
2239+
ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, "http_auth_ldap: Search group filter is \"%s\"", (const char *) filter);
22402240
attrs[0] = LDAP_NO_ATTRS;
22412241
attrs[1] = NULL;
22422242
rc = ldap_search_ext(ctx->c->ld, tail_gr, LDAP_SCOPE_ONELEVEL, (const char *) filter, attrs, 0, NULL, NULL, NULL, 0, &ctx->c->msgid);

0 commit comments

Comments
 (0)