tsnet: add option for less verbose logging
maisem opened this issue · comments
Maisem Ali commented
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