tailscale/cmd
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
2021-12-16 12:33:04 -08:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
derper cmd/derper: allow http port configuration 2021-12-08 08:58:30 -08:00
derpprobe derp: use new node key type. 2021-10-28 16:02:11 -07:00
hello all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
mkpkg cmd/mkpkg: allow zero files in a package. 2021-06-07 16:22:23 -07:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale cmd/tailscale: improve ping error message when logged out 2021-12-16 10:46:18 -08:00
tailscaled ipn/ipnserver, logpolicy: move Windows disk logging up earlier 2021-12-16 12:33:04 -08:00
testcontrol cmd/testcontrol: add test control server 2021-08-19 17:50:48 -07:00
tsshd tsshd: fix double exit with different exit codes 2021-11-23 09:19:59 -08:00