diff options
| author | Joe Tsai <joetsai@digital-static.net> | 2022-06-09 14:52:43 -0700 |
|---|---|---|
| committer | Joe Tsai <joetsai@digital-static.net> | 2022-06-09 14:57:33 -0700 |
| commit | 840785fcd961dd0069371c3136b8d99b864c4a08 (patch) | |
| tree | 0e0b200ab49cd245109321e16447ee762a73def7 /logtail/api.md | |
| parent | 96f73b38946f5acc09ee8718171054155ebda32d (diff) | |
| download | tailscale-dsnet/tsnet-logging.tar.xz tailscale-dsnet/tsnet-logging.zip | |
tsnet: do not log using log.Printf by defaultdsnet/tsnet-logging
Printing to log.Printf by default made sense when there was
no automatic uploading to log.tailscale.io.
However, now that we support that by default,
logging to log.Printf if Server.Logf is nil seems superfluous.
The tsnet package is also intended to be instantiated as a library.
Thus, a single process can multiple tsnet instances running simultaneously.
The default behavior of each logging to log.Printf makes the
os.Stderr of the main process unreadable.
Signed-off-by: Joe Tsai <joetsai@digital-static.net>
Diffstat (limited to 'logtail/api.md')
0 files changed, 0 insertions, 0 deletions
