cmd/web: add a TSNET_VERBOSE escape hatch
Signed-off-by: Xe Iaso <xe@tailscale.com>
This commit is contained in:
parent
c249aa71dc
commit
7442ab6f69
|
@ -30,7 +30,7 @@ import (
|
|||
var (
|
||||
hostname = flag.String("hostname", envOr("TSNET_HOSTNAME", "paste"), "hostname to use on your tailnet, TSNET_HOSTNAME in the environment")
|
||||
dataDir = flag.String("data-location", dataLocation(), "where data is stored, defaults to DATA_DIR or ~/.config/tailscale/paste")
|
||||
tsnetLogVerbose = flag.Bool("tsnet-verbose", false, "if set, have tsnet log verbosely to standard error")
|
||||
tsnetLogVerbose = flag.Bool("tsnet-verbose", os.Getenv("TSNET_VERBOSE") != "", "if set, have tsnet log verbosely to standard error")
|
||||
|
||||
//go:embed schema.sql
|
||||
sqlSchema string
|
||||
|
|
Loading…
Reference in a new issue