tailscale/types/logger
Josh Bleecher Snyder 1e28207a15 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>
2021-01-28 10:15:56 -08:00
..
logger.go types/logger: fix rateFree interaction with verbosity prefixes 2021-01-28 10:15:56 -08:00
logger_test.go Provide example when format string is rate limited 2021-01-13 13:57:23 -08:00
rusage.go types/logger: move RusagePrefixLog to logger package, disable by default 2020-10-19 07:56:23 -07:00
rusage_nowindows.go all: prepare for GOOS=ios in Go 1.16 2020-11-11 09:17:04 -08:00
rusage_windows.go types/logger: move RusagePrefixLog to logger package, disable by default 2020-10-19 07:56:23 -07:00