45 Commits (b46c5ae82ab006ef8623730ef729051663e36732)

Author SHA1 Message Date
Andrew Dunham d1146dc701 ipn/ipnlocal: rate-limit diagnose logs in bugreport 3 years ago
Will Norris 71029cea2d all: update copyright and license headers 3 years ago
Brad Fitzpatrick da8def8e13 all: remove old +build tags 4 years ago
Josh Soref d4811f11a0 all: fix spelling mistakes 4 years ago
Andrew Dunham b1867457a6
doctor: add package for running in-depth healthchecks; use in bugreport (#5413) 4 years ago
Eng Zer Jun f0347e841f refactor: move from io/ioutil to io and os packages 4 years ago
Brad Fitzpatrick 74674b110d envknob: support changing envknobs post-init 4 years ago
Nahum Shalman 66d7d2549f logger: migrate rusage syscall use to x/sys/unix 4 years ago
Brad Fitzpatrick 116f55ff66 all: gofmt for Go 1.19 4 years ago
Joe Tsai 01adcfa688
tailcfg: add omitempty to all fields of Hostinfo (#4360) 4 years ago
Josh Bleecher Snyder 0868329936 all: use any instead of interface{} 4 years ago
Josh Bleecher Snyder 66f5aa6814 types/logger: add more reserved top level field names 4 years ago
Brad Fitzpatrick 84138450a4 types/logger, logtail: add mechanism to do structured JSON logs 4 years ago
Brad Fitzpatrick 41fd4eab5c envknob: add new package for all the strconv.ParseBool(os.Getenv(..)) 4 years ago
Josh Bleecher Snyder deb2f5e793 types/logger: add Context and related helpers 4 years ago
Brad Fitzpatrick 9310713bfb all: fix some js/wasm compilation issues 5 years ago
Josh Bleecher Snyder a5da4ed981 all: gofmt with Go 1.17 5 years ago
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