You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
logger.go types/logger: fix rateFree interaction with verbosity prefixes 4 years ago
logger_test.go Provide example when format string is rate limited 4 years ago
rusage.go types/logger: move RusagePrefixLog to logger package, disable by default 4 years ago
rusage_nowindows.go all: prepare for GOOS=ios in Go 1.16 4 years ago
rusage_windows.go types/logger: move RusagePrefixLog to logger package, disable by default 4 years ago