diff src/event/ngx_event_quic_protection.c @ 8605:eed49b83e18f quic

QUIC: revised value separators in debug and error messages. All values are prefixed with name and separated from it using colon. Multiple values are listed without commas in between. Rationale: this greatly simplifies log parsing for analysis.
author Vladimir Homutov <vl@nginx.com>
date Tue, 27 Oct 2020 14:12:31 +0300
parents 52ad697f9d1c
children 4a05f0f3dfce
line wrap: on
line diff
--- a/src/event/ngx_event_quic_protection.c
+++ b/src/event/ngx_event_quic_protection.c
@@ -1113,9 +1113,9 @@ ngx_quic_decrypt(ngx_quic_header_t *pkt,
     pkt->flags = clearflags;
 
     ngx_log_debug1(NGX_LOG_DEBUG_EVENT, pkt->log, 0,
-                   "quic clear flags: %xd", clearflags);
+                   "quic clearflags:%xd", clearflags);
     ngx_log_debug2(NGX_LOG_DEBUG_EVENT, pkt->log, 0,
-                   "quic packet number: %uL, len: %xi", pn, pnl);
+                   "quic packet number:%uL len:%xi", pn, pnl);
 
     /* packet protection */