cmd/tailscale: don't duplicate log output
logtail.Log by default writes log output to stderr, but stderr is taken over by filch's ReplaceStderr, resulting in duplicate logs sent to Tailscale. ReplaceStderr is useful for capturing stack dumps from panics. Configure logtail to route logs to the Android logger, which stops the duplicate logging and replaces an existing MultiWriter setup for the same purpose. Reduce the scope of the logtail logger while here. Fixes tailscale/tailscale#646 Signed-off-by: Elias Naur <mail@eliasnaur.com>pull/3/head
parent
334dff897c
commit
943bded910
Loading…
Reference in New Issue