comparison src/event/ngx_event_quic_protection.c @ 8164: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
comparison
equal deleted inserted replaced
8163:b3d9e57d0f62 8164:eed49b83e18f
1111 1111
1112 pkt->pn = pn; 1112 pkt->pn = pn;
1113 pkt->flags = clearflags; 1113 pkt->flags = clearflags;
1114 1114
1115 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, pkt->log, 0, 1115 ngx_log_debug1(NGX_LOG_DEBUG_EVENT, pkt->log, 0,
1116 "quic clear flags: %xd", clearflags); 1116 "quic clearflags:%xd", clearflags);
1117 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, pkt->log, 0, 1117 ngx_log_debug2(NGX_LOG_DEBUG_EVENT, pkt->log, 0,
1118 "quic packet number: %uL, len: %xi", pn, pnl); 1118 "quic packet number:%uL len:%xi", pn, pnl);
1119 1119
1120 /* packet protection */ 1120 /* packet protection */
1121 1121
1122 in.data = p; 1122 in.data = p;
1123 in.len = len - pnl; 1123 in.len = len - pnl;