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/cmd/tailscaled
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
2 years ago
..
debug.go derp: use new node key type. 3 years ago
depaware.txt ipn/ipnserver, logpolicy: move Windows disk logging up earlier 2 years ago
install_darwin.go cmd/tailscaled: remove tailscaled binary on uninstall-system-daemon 3 years ago
install_windows.go ipn/ipnlocal: add file sharing to windows shell 3 years ago
proxy.go cmd/tailscaled: add support for running an HTTP proxy 3 years ago
tailscaled.defaults cmd/tailscaled: rename relaynode reference in defaults file comment 4 years ago
tailscaled.go cmd/tailscaled: move start-up failure logging to one place 3 years ago
tailscaled.openrc tstest/integration/vms: use an in-process logcatcher (#2360) 3 years ago
tailscaled.service cmd/tailscaled: set StateDirectoryMode=0700 in tailscaled.service 3 years ago
tailscaled_bird.go wgengine/userspace: add support to automatically enable/disable the tailscale 3 years ago
tailscaled_notwindows.go all: gofmt with Go 1.17 3 years ago
tailscaled_windows.go cmd/tailscaled: log Windows service change requests 2 years ago