diff options
| author | Vladimir Khomutov <vl@wbsrv.ru> | 2023-10-26 23:35:09 +0300 |
|---|---|---|
| committer | Vladimir Khomutov <vl@wbsrv.ru> | 2023-10-26 23:35:09 +0300 |
| commit | a13ed7f5ed5bebdc0b9217ffafb75ab69f835a84 (patch) | |
| tree | 3d0c1414a855db5a0755f153026452ceffde743c /src/event/quic/ngx_event_quic_frames.c | |
| parent | 1f1bc17ba81eb7eaf0fbadb6bd5fd711f5194d11 (diff) | |
| download | nginx-a13ed7f5ed5bebdc0b9217ffafb75ab69f835a84.tar.gz nginx-a13ed7f5ed5bebdc0b9217ffafb75ab69f835a84.tar.bz2 | |
QUIC: improved packet and frames debug tracing.
Currently, packets generated by ngx_quic_frame_sendto() and
ngx_quic_send_early_cc() are not logged, thus making it hard
to read logs due to gaps appearing in packet numbers sequence.
At frames level, it is handy to see immediately packet number
in which they arrived or being sent.
Diffstat (limited to 'src/event/quic/ngx_event_quic_frames.c')
| -rw-r--r-- | src/event/quic/ngx_event_quic_frames.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/quic/ngx_event_quic_frames.c b/src/event/quic/ngx_event_quic_frames.c index 7bcfb3211..42b7d9f41 100644 --- a/src/event/quic/ngx_event_quic_frames.c +++ b/src/event/quic/ngx_event_quic_frames.c @@ -886,8 +886,8 @@ ngx_quic_log_frame(ngx_log_t *log, ngx_quic_frame_t *f, ngx_uint_t tx) break; } - ngx_log_debug4(NGX_LOG_DEBUG_EVENT, log, 0, "quic frame %s %s %*s", - tx ? "tx" : "rx", ngx_quic_level_name(f->level), + ngx_log_debug5(NGX_LOG_DEBUG_EVENT, log, 0, "quic frame %s %s:%uL %*s", + tx ? "tx" : "rx", ngx_quic_level_name(f->level), f->pnum, p - buf, buf); } |
