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
Brad Fitzpatrick 40e2b312b6 ipn/ipnserver, logpolicy: move Windows disk logging up earlier
This moves the Windows-only initialization of the filelogger into
logpolicy. Previously we only did it when babysitting the tailscaled
subprocess, but this meant that log messages from the service itself
never made it to disk. Examples that weren't logged to disk:

* logtail unable to dial out,
* DNS flush messages from the service
* svc.ChangeRequest messages (#3581)

This is basically the same fix as #3571 but staying in the Logf type,
and avoiding build-tagged file (which wasn't quite a goal, but
happened and seemed nice)

Fixes #3570

Co-authored-by: Aaron Klotz <aaron@tailscale.com>
Change-Id: Iacd80c4720b7218365ec80ae143339d030842702
3 years ago
..
ipnlocal ipn/ipnlocal: make TestShrinkDefaultRoute hermetic 3 years ago
ipnserver ipn/ipnserver, logpolicy: move Windows disk logging up earlier 3 years ago
ipnstate ipn/ipnstate: remove old deprecated TailAddr IPv4-only field 3 years ago
localapi net/tsdial: move more weirdo dialing into new tsdial package, plumb 3 years ago
policy ipn/policy: treat DNS service as interesting so it's not filtered out 3 years ago
store/aws ipn/store/aws: support using sub-paths in parameters 3 years ago
backend.go ipn: use key.NodePublic instead of tailcfg.NodeKey 3 years ago
doc.go Move Linux client & common packages into a public repo. 5 years ago
fake_test.go ipn{,/ipnlocal}, cmd/tailscale/cli: don't check pref reverts on initial up 4 years ago
handle.go ipn: another controlplane synonym 3 years ago
message.go ipn: don't log IPN messages that may contain an authkey. 3 years ago
message_test.go ipn: allow b to be nil in NewBackendServer 4 years ago
prefs.go ipn: fix formatting of ExitNodeIP in MaskedPrefs 3 years ago
prefs_clone.go cmd/cloner: mangle "go:generate" in cloner.go 3 years ago
prefs_test.go types/persist: use new node key type. 3 years ago
store.go ipn: remove mention of wgkey in comment. 3 years ago
store_test.go ipn: test TestFileStore in a fresh subdirectory 3 years ago