[nginx] SSL: fixed misuse of NGX_LOG_DEBUG_HTTP.
Maxim Dounin
mdounin at mdounin.ru
Fri Apr 18 16:33:36 UTC 2014
details: http://hg.nginx.org/nginx/rev/3b48f9e69e70
branches:
changeset: 5657:3b48f9e69e70
user: Maxim Dounin <mdounin at mdounin.ru>
date: Fri Apr 18 20:13:14 2014 +0400
description:
SSL: fixed misuse of NGX_LOG_DEBUG_HTTP.
diffstat:
src/event/ngx_event_openssl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (30 lines):
diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c
--- a/src/event/ngx_event_openssl.c
+++ b/src/event/ngx_event_openssl.c
@@ -2418,7 +2418,7 @@ ngx_ssl_session_ticket_key_callback(ngx_
if (enc == 1) {
/* encrypt session ticket */
- ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
+ ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
"ssl session ticket encrypt, key: \"%*s\" (%s session)",
ngx_hex_dump(buf, key[0].name, 16) - buf, buf,
SSL_session_reused(ssl_conn) ? "reused" : "new");
@@ -2440,7 +2440,7 @@ ngx_ssl_session_ticket_key_callback(ngx_
}
}
- ngx_log_debug2(NGX_LOG_DEBUG_HTTP, c->log, 0,
+ ngx_log_debug2(NGX_LOG_DEBUG_EVENT, c->log, 0,
"ssl session ticket decrypt, key: \"%*s\" not found",
ngx_hex_dump(buf, name, 16) - buf, buf);
@@ -2448,7 +2448,7 @@ ngx_ssl_session_ticket_key_callback(ngx_
found:
- ngx_log_debug3(NGX_LOG_DEBUG_HTTP, c->log, 0,
+ ngx_log_debug3(NGX_LOG_DEBUG_EVENT, c->log, 0,
"ssl session ticket decrypt, key: \"%*s\"%s",
ngx_hex_dump(buf, key[i].name, 16) - buf, buf,
(i == 0) ? " (default)" : "");
More information about the nginx-devel
mailing list