tailscale/wgengine
Mihai Parparita edb02b63f8 net/sockstats: pass in logger to sockstats.WithSockStats
Using log.Printf may end up being printed out to the console, which
is not desirable. I noticed this when I was investigating some client
logs with `sockstats: trace "NetcheckClient" was overwritten by another`.
That turns to be harmless/expected (the netcheck client will fall back
to the DERP client in some cases, which does its own sockstats trace).

However, the log output could be visible to users if running the
`tailscale netcheck` CLI command, which would be needlessly confusing.

Updates tailscale/corp#9230

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2023-04-12 18:40:03 -07:00
..
bench all: update copyright and license headers 2023-01-27 15:36:29 -08:00
capture net, wgengine/capture: encode NAT addresses in pcap stream 2023-04-06 13:26:00 -07:00
filter all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
magicsock net/sockstats: pass in logger to sockstats.WithSockStats 2023-04-12 18:40:03 -07:00
monitor net/sockstats: remove explicit dependency on wgengine/monitor 2023-03-03 08:37:14 -08:00
netlog sockstats: add labels for netlog and sockstatlog packages 2023-03-29 14:53:07 -07:00
netstack wgengine/netstack: fix data-race on startup 2023-04-10 09:13:21 -07:00
router envknob,net/tstun,wgengine: use TS_DEBUG_MTU consistently 2023-03-30 14:26:10 -07:00
wgcfg tailcfg,wgengine: add initial support for WireGuard only peers 2023-04-08 22:08:25 -07:00
wgint all: update copyright and license headers 2023-01-27 15:36:29 -08:00
wglog all: update copyright and license headers 2023-01-27 15:36:29 -08:00
winnet all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mem_ios.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
pendopen.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace_ext_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
userspace.go net/tstun,wgengine/*: add support for NAT to routes 2023-03-29 12:30:18 -07:00
watchdog_js.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
watchdog.go wgengine: start logging DISCO frames to pcap stream 2023-02-10 11:22:34 -10:00
wgengine.go wgengine: start logging DISCO frames to pcap stream 2023-02-10 11:22:34 -10:00