]> git.kaiwu.me - njs.git/commitdiff
Fetch: fixed typo in debug level.
authorDmitry Volyntsev <xeioex@nginx.com>
Sat, 4 Mar 2023 01:49:10 +0000 (17:49 -0800)
committerDmitry Volyntsev <xeioex@nginx.com>
Sat, 4 Mar 2023 01:49:10 +0000 (17:49 -0800)
nginx/ngx_js_fetch.c

index d9772c3ddb5af4252aa1ab2acf0e99297c8182e5..9824baf82ec76d71603d5d5ccc86ae4f24166bb7 100644 (file)
@@ -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,