gr1ffon
4ba42a8456
replace repo
2025-11-14 04:04:40 +03:00
Marten Seemann
8d1b4811c4
qlog: privatize Encode methods of non-Event structs ( #5364 )
2025-10-09 14:12:19 +02:00
Marten Seemann
c2131eb595
qlog: split serializiation and event definitions, remove logging abstraction ( #5356 )
...
* qlog: implement a Trace and a Writer struct
* qlog: rename Trace to FileSeq
* split qlog trace writer and QUIC qlog events into separate packages
* use the new qlog.Recorder instead of the logging.ConnectionTracer
2025-10-08 05:53:02 +02:00
Marten Seemann
e6d5d960e3
qlog: implement a minimal jsontext-like JSON encoder ( #5353 )
...
* qlog: use fork of encoding/json/jsontext instead of unmaintained gojay
* implement a minimal jsontext-compatible encoder
* qlogtext: improve fuzz test
* qlog: simplify JSON encoding error handling
* qlog: make use of jsontext.Bool
2025-10-06 06:48:40 +02:00
Marten Seemann
f96923b5b2
logging: rename VersionNumber to Version ( #4621 )
2024-08-03 19:32:11 -07:00
Marten Seemann
3bf2e19d0d
logging: pass the packet number to ConnectionTracer.DroppedPacket ( #4171 )
...
In most cases the packet number is not known when a packet is dropped,
but it's useful to log the packet number when dropping a duplicate
packet.
2023-11-17 04:11:16 -08:00
Marten Seemann
58cedf7a4f
rename module, adjust import paths to quic-go/quic-go ( #3680 )
2023-01-21 19:53:57 -08:00
Marten Seemann
ed15a94703
split the tracing function for received short and long header packets
2022-08-29 15:32:27 +03:00
Marten Seemann
1aced95d41
use an array instead of a byte slice for Connection IDs
2022-08-29 11:30:31 +03:00
Marten Seemann
53412e9ba3
trace arbitrary length Connection IDs for Version Negotiation packets
2022-08-29 10:58:33 +03:00
Marten Seemann
bd48ae50ed
fix qlogging of the packet payload length
2021-01-19 11:09:34 +08:00
Marten Seemann
f28db16df4
fix packet_type logging for packet_lost, packet_dropped and packet_buffered
2021-01-07 11:18:18 +08:00
Marten Seemann
84af90f2f8
qlog the packet size in the newly introduced RawInfo
2021-01-07 11:02:00 +08:00
Marten Seemann
b83e156e9f
log tokens in NEW_TOKEN frames, Retry packets and Initial packets
2020-12-06 11:26:37 +07:00
Marten Seemann
4f557317a0
qlog the packet_type as part of the packet header, not the event itself
2020-12-06 10:51:21 +07:00
Marten Seemann
d5a30225ce
use a uint8 to represent the key phase bit
2020-10-06 15:27:56 +07:00
Marten Seemann
93e3873141
qlog the key phase bit
2020-10-06 15:05:26 +07:00
Marten Seemann
704bd78445
move the PacketHeader struct from logging to qlog package
2020-09-09 13:17:59 +07:00
Marten Seemann
d4dc08b208
move all stringifation of qlog events to the qlog package
2020-07-06 08:26:37 +07:00
Marten Seemann
78ba619a0b
split the qlog package into a logging and a qlog package
2020-07-01 16:49:24 +07:00
Marten Seemann
30618a31fe
fix qlogging of packet headers
2020-04-16 09:52:19 +07:00
Marten Seemann
d6edcc38c0
don't qlog a packet number for Retry packets
2020-04-04 15:05:34 +07:00
Marten Seemann
1a539334b8
fix determining of packet type from packet header in qlog
2020-03-21 12:49:46 +07:00
Marten Seemann
7309a10482
remove string encoding for numbers in qlog
2020-03-13 15:43:01 +07:00
Marten Seemann
f976a0ba11
qlog when undecryptable packets are buffered
2020-03-11 11:14:22 +07:00
Marten Seemann
a3fe9445cc
set the packet_size on the packet_received and packet_sent event
2020-02-12 10:42:38 +07:00
Marten Seemann
5a7f743733
qlog lost packets
2020-02-12 10:42:38 +07:00
Marten Seemann
a58bcb747b
qlog received Retry packets
2020-02-12 10:42:38 +07:00
Marten Seemann
bfd745106c
determine the packet type from the QUIC header
2020-02-12 10:35:55 +07:00
Marten Seemann
572ef44cf2
use GoJay to marshal JSON
...
GoJay doesn't use reflection to marshal JSON. This allows dramatically
faster encoding, as well as saving a large number of allocations.
2020-02-12 10:35:54 +07:00
Marten Seemann
2e59206a1e
implement marshalling of packet headers
2020-02-12 10:35:19 +07:00