Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

export qlogs when the QLOGDIR env variable is set #129

Merged
merged 3 commits into from
Apr 6, 2020
Merged

Conversation

marten-seemann
Copy link
Collaborator

@marten-seemann marten-seemann commented Mar 26, 2020

The connection ID used for logging is the destination connection ID chosen by the client, both for the server's and the client's log file. This allows us to easily correlate two log files, if we happen to have logs from both endpoints.

This also means that if a client manages to create two connections with the same destination connection ID in the same microsecond, we will only have the log of one of those connections. I think we can live with that.

Side note: I'll cut a new quic-go release after this PR is merged. I've made quite a few improvements of qlog after the last release.

transport.go Outdated Show resolved Hide resolved
transport.go Outdated Show resolved Hide resolved
@marten-seemann marten-seemann merged commit 94dffab into master Apr 6, 2020
@marten-seemann marten-seemann deleted the qlog branch April 6, 2020 05:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants