mirror of https://github.com/tailscale/tailscale/
types/logger: fix rateFree interaction with verbosity prefixes
We log lines like this:
c.logf("[v1] magicsock: disco: %v->%v (%v, %v) sent %v", c.discoShort, dstDisco.ShortString(), dstKey.ShortString(), derpStr(dst.String()), disco.MessageSummary(m))
The leading [v1] causes it to get unintentionally rate limited.
Until we have a proper fix, work around it.
Fixes #1216
Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
(cherry picked from commit 1e28207a15)
pull/1317/head
parent
3d7cff91b3
commit
2e33fdfe67
Loading…
Reference in New Issue