diff --git a/tstest/integration/integration_test.go b/tstest/integration/integration_test.go index d2f3e6189..5779339ba 100644 --- a/tstest/integration/integration_test.go +++ b/tstest/integration/integration_test.go @@ -44,7 +44,9 @@ import ( "tailscale.com/types/nettype" ) -var verbose = flag.Bool("verbose", false, "verbose debug logs") +var ( + verboseLogCatcher = flag.Bool("verbose-log-catcher", false, "verbose log catcher logging") +) var mainError atomic.Value // of error @@ -547,7 +549,7 @@ func (lc *logCatcher) ServeHTTP(w http.ResponseWriter, r *http.Request) { } else { for _, ent := range jreq { fmt.Fprintf(&lc.buf, "%s\n", strings.TrimSpace(ent.Text)) - if *verbose { + if *verboseLogCatcher { fmt.Fprintf(os.Stderr, "%s\n", strings.TrimSpace(ent.Text)) } }