tailscale/logtail
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
..
backoff backoff: update to Go style, document a bit, make 30s explicit 2020-08-09 09:36:26 -07:00
example logtail, logpolicy: remove an unidiomatic use of an interface 2020-12-21 09:03:39 -08:00
filch logtail/filch: limit buffer file size to 50MB 2021-10-29 13:31:30 -07:00
.gitignore Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
api.md Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00
buffer.go logtail: rename the unused CheckLogs to DrainLogs 2020-03-20 13:26:33 +11:00
id_test.go logtail: add ParsePublicID that doesn't allocate 2020-04-13 08:54:35 -07:00
id.go logtail: reduce PublicID.UnmarshalText from 2 allocs to 0 2021-04-15 10:42:12 -07:00
logtail_test.go all: use testingutil.MinAllocsPerRun 2021-10-28 12:48:37 -07:00
logtail.go ipn/ipnserver, logpolicy: move Windows disk logging up earlier 2021-12-16 12:33:04 -08:00
README.md Move Linux client & common packages into a public repo. 2020-02-09 09:32:57 -08:00

Tailscale Logs Service

This github repository contains libraries, documentation, and examples for working with the public API of the tailscale logs service.

For a very quick introduction to the core features, read the API docs and peruse the logs reprocessing example.

For more information, write to info@tailscale.io.