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/ipn
Joe Tsai 63b3c82587
ipn/local: log OS-specific diagnostic information as JSON (#11700)
There is an undocumented 16KiB limit for text log messages.
However, the limit for JSON messages is 256KiB.
Even worse, logging JSON as text results in significant overhead
since each double quote needs to be escaped.

Instead, use logger.Logf.JSON to explicitly log the info as JSON.

We also modify osdiag to return the information as structured data
rather than implicitly have the package log on our behalf.
This gives more control to the caller on how to log.

Updates #7802

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
1 month ago
..
conffile ipn/{conffile,ipnlocal}: start booting tailscaled from a config file w/ auth key 8 months ago
ipnauth go.mod, all: move away from inet.af domain seized by Taliban 4 months ago
ipnlocal ipn/ipnlocal: reset auto-updates if unsupported on profile load (#11838) 1 month ago
ipnserver all: use Go 1.22 range-over-int 2 months ago
ipnstate ipn/ipnlocal: populate peers' capabilities (#11365) 2 months ago
localapi ipn/local: log OS-specific diagnostic information as JSON (#11700) 1 month ago
policy ipn,tailconfig: clean up unreleased and removed app connector service 7 months ago
store ipn/store: omit AWS & Kubernetes support on 'small' Linux GOARCHes 2 months ago
backend.go ipn: remove unused Options.LegacyMigrationPrefs 2 months ago
conf.go cmd/k8s-operator,ipn/conf.go: fix --accept-routes for proxies (#11453) 2 months ago
doc.go all: update copyright and license headers 1 year ago
ipn_clone.go ipn/{localapi, ipnlocal}: forget the prior exit node when localAPI is used to zero the ExitNodeID (#11681) 2 months ago
ipn_test.go net/packet: split off checksum munging into different pkg 8 months ago
ipn_view.go ipn/{localapi, ipnlocal}: forget the prior exit node when localAPI is used to zero the ExitNodeID (#11681) 2 months ago
prefs.go all: use Go 1.22 range-over-int 2 months ago
prefs_test.go all: use Go 1.22 range-over-int 2 months ago
serve.go all: deprecate Node.Capabilities (more), remove PeerChange.Capabilities [capver 89] 2 months ago
serve_test.go {ipn/serve,cmd/tailscale/cli}: move some shared funcs to ipn 3 months ago
store.go ipn: add comment about thread-safety to StateStore 3 months ago
store_test.go ipn: avoid useless no-op WriteState calls 10 months ago