From 5330acd5616184b91bd89cff56c63a5a4342de29 Mon Sep 17 00:00:00 2001 From: Kevin Wallace Date: Thu, 5 Mar 2026 20:17:40 -0800 Subject: make protocol trace logging optional, default off --- cmd/cvend-ipp/main.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/cvend-ipp/main.go') diff --git a/cmd/cvend-ipp/main.go b/cmd/cvend-ipp/main.go index ce96732..a985dc6 100644 --- a/cmd/cvend-ipp/main.go +++ b/cmd/cvend-ipp/main.go @@ -8,6 +8,7 @@ import ( "time" "pm3.dev/cvend" + "pm3.dev/ipp" ) var wait = flag.Duration("w", 5*time.Second, "how long to wait for a response") @@ -15,6 +16,7 @@ var follow = flag.Bool("f", false, "don't exit after response") func main() { flag.Parse() + *ipp.Trace = true log.SetFlags(log.Lshortfile | log.Ldate | log.Ltime | log.Lmicroseconds) log.Println("cvend-ipp start") wc := make(chan struct{}, 1) -- cgit v1.2.3