[njs] Fetch: fixed typo in debug level.

Dmitry Volyntsev xeioex at nginx.com
Sat Mar 4 02:50:07 UTC 2023


details:   https://hg.nginx.org/njs/rev/163229f0c552
branches:  
changeset: 2062:163229f0c552
user:      Dmitry Volyntsev <xeioex at nginx.com>
date:      Fri Mar 03 17:49:10 2023 -0800
description:
Fetch: fixed typo in debug level.

diffstat:

 nginx/ngx_js_fetch.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 700f267bd903 -r 163229f0c552 nginx/ngx_js_fetch.c
--- a/nginx/ngx_js_fetch.c	Wed Mar 01 21:38:09 2023 -0800
+++ b/nginx/ngx_js_fetch.c	Fri Mar 03 17:49:10 2023 -0800
@@ -1351,7 +1351,7 @@ failed:
 static void
 ngx_js_http_close_connection(ngx_connection_t *c)
 {
-    ngx_log_debug1(NGX_LOG_DEBUG_HTTP, c->log, 0,
+    ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0,
                    "close js http connection: %d", c->fd);
 
 #if (NGX_SSL)
@@ -1665,7 +1665,7 @@ ngx_js_http_ssl_name(ngx_js_http_t *http
 
     name->data = p;
 
-    ngx_log_debug1(NGX_LOG_DEBUG_HTTP, http->log, 0,
+    ngx_log_debug1(NGX_LOG_DEBUG_EVENT, http->log, 0,
                    "js http SSL server name: \"%s\"", name->data);
 
     if (SSL_set_tlsext_host_name(http->peer.connection->ssl->connection,


More information about the nginx-devel mailing list