diff --git a/cmd/tailscale/tailscale.go b/cmd/tailscale/tailscale.go index aa288c843..95b2b2817 100644 --- a/cmd/tailscale/tailscale.go +++ b/cmd/tailscale/tailscale.go @@ -21,7 +21,6 @@ import ( "github.com/peterbourgon/ff/v2/ffcli" "github.com/tailscale/wireguard-go/wgcfg" "tailscale.com/ipn" - "tailscale.com/logpolicy" "tailscale.com/paths" "tailscale.com/safesocket" ) @@ -117,13 +116,10 @@ var upArgs = struct { }{} func runUp(ctx context.Context, args []string) error { - pol := logpolicy.New("tailnode.log.tailscale.io") if len(args) > 0 { log.Fatalf("too many non-flag arguments: %q", args) } - defer pol.Close() - var adv []wgcfg.CIDR if upArgs.advertiseRoutes != "" { advroutes := strings.Split(upArgs.advertiseRoutes, ",")