28 Commits (d37451bac6f38cc09b853b08b1dc8359ba767fa1)

Author SHA1 Message Date
Brad Fitzpatrick 8a4dffee07 types/logger: fix deadlock RateLimitedFn reentrancy 5 years ago
Josh Bleecher Snyder 78d4c561b5 types/logger: add key grinder stats lines to rate-limiting exemption list 5 years ago
Josh Bleecher Snyder f116a4c44f types/logger: fix rate limiter allowlist 5 years ago
Avery Pennarun 19c3e6cc9e types/logger: rate limited: more hysteresis, better messages. 5 years ago
Josh Bleecher Snyder 1e28207a15 types/logger: fix rateFree interaction with verbosity prefixes 5 years ago
David Anderson 78338ac029 types/logger: trim spaces from the rate-limited example message. 5 years ago
Josh Bleecher Snyder 2d837f79dc wgengine/magicsock: close test loggers once we're done with them 5 years ago
Smitty 2bf49ddf90 Provide example when format string is rate limited 5 years ago
Josh Bleecher Snyder 1e4604f60e wgengine: quiet some wireguard-go logging 5 years ago
Smitty f0b0a62873 Clarify that raw format strings are intentional 5 years ago
Brad Fitzpatrick 19b0cfe89e all: prepare for GOOS=ios in Go 1.16 6 years ago
Brad Fitzpatrick 8b904b1493 types/logger: fix LogOnChange to pass through format/args to underlying logger 6 years ago
Brad Fitzpatrick 86c271caba types/logger: move RusagePrefixLog to logger package, disable by default 6 years ago
Elias Naur fa45d606fa types/logger: fix go test vet error 6 years ago
Brad Fitzpatrick 0ea51872c9 types/logger: add rateFreePrefix rate-limiting-exempt log format prefixes 6 years ago
Dmytro Shynkevych c12d87c54b
Fix concurrency issues in controlclient, ipn, types/logger (#456) 6 years ago
Brad Fitzpatrick dd6b96ba68 types/logger: add TS_DEBUG_LOG_RATE knob to easily turn off rate limiting 6 years ago
Avery Pennarun af9328c1b7 log rate limiting: reformat limiter messages, and use nonempty burst size. 6 years ago
Wendi Yu bb55694c95
wgengine: log node IDs when peers are added/removed (#381) 6 years ago
Brad Fitzpatrick fe97bedf67 types/logger: add ArgWriter 6 years ago
Brad Fitzpatrick 8eda667aa1 types/logger: simplify mutex locking in rate-limited logger 6 years ago
David Anderson 48b1e85e8a types/logger: fix deadlock in the burst case. 6 years ago
Wendi Yu 0c69b4e00d
Implement rate limiting on log messages (#356) 6 years ago
Brad Fitzpatrick 45f2b53aca all: remove unnecessary trailing newlines in format patterns for consistency 6 years ago
David Anderson 96b2f20c5b types/logger: add Discard helper. 6 years ago
Brad Fitzpatrick 946df89fa6 types/logger: add adapters for Logf to std Logger/Writer 6 years ago
Brad Fitzpatrick 3988ddc85d types/logger: add WithPrefix, use it in two places 6 years ago
Brad Fitzpatrick 2896be60db Move "logger" package to under types, now that we have it. 6 years ago