You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/sniproxy
Maisem Ali 486a423716 tsnet: split user facing and backend logging
This adds a new `UserLogf` field to the `Server` struct.
When set this any logs generated by Server are logged using
`UserLogf` and all spammy backend logs are logged to `Logf`.

If it `UserLogf` is unset, we default to `log.Printf` and
if `Logf` is unset we discard all the spammy logs.

Fixes #12094

Signed-off-by: Maisem Ali <maisem@tailscale.com>
7 months ago
..
.gitignore cmd/sniproxy: add port forwarding and prometheus metrics 1 year ago
handlers.go go.mod, all: move away from inet.af domain seized by Taliban 10 months ago
handlers_test.go appc,cmd/sniproxy,ipn/ipnlocal: split sniproxy configuration code out of appc 1 year ago
server.go appc,cmd/sniproxy,ipn/ipnlocal: split sniproxy configuration code out of appc 1 year ago
server_test.go appc,cmd/sniproxy,ipn/ipnlocal: split sniproxy configuration code out of appc 1 year ago
sniproxy.go appc,cmd/sniproxy,ipn/ipnlocal: split sniproxy configuration code out of appc 1 year ago
sniproxy_test.go tsnet: split user facing and backend logging 7 months ago