mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Currently, we log messages from the portal several times via different ways. For one, the message is included in the span via `tracing::instrument`. Then it is also logged on `trace!` level twice (this PR removes one of them). Plus, the fields of the `request_connection` span are not printed in a very human-readable way (bytes arrays). This makes the logs super noisy, see here for the latest run on `main`: https://github.com/firezone/firezone/actions/runs/7808301643/job/21298585685#step:13:13 Compare this with the logs from the run in this PR: https://github.com/firezone/firezone/actions/runs/7813774334/job/21313812863?pr=3596#step:13:13 Some of these improvements were made as part of debugging #3391. Extracting them here in a separate PR to reduce the diff of #3391.