tailscale / tailscale

The easiest, most secure way to use WireGuard and 2FA.

Home Page:https://tailscale.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tsnet: add option for less verbose logging

maisem opened this issue · comments

Right now users can pass in a single Logf logger.Logf func which is used to log everything including all the spammy logs generated by LocalBackend/MagicSock etc and the logs generated by tsnet.Server itself.

Almost all uses internally set Logf: logger.Discard to stop the spam. This means that they routinely miss critical information being logged by the server itself. We should figure out a way to make this experience better.

cc @bradfitz