From bddbc5dc87627a03ab45a6eec4d7fc2023888064 Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Thu, 27 Feb 2025 12:58:43 +0100 Subject: [PATCH] - --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index a1b67cd84..4fd4ac3de 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,8 @@ func main() { // of [root.Execute] ensures that the telemetry upload process is not spawned // infinitely in a recursive manner. if len(os.Args) == 3 && os.Args[1] == "telemetry" && os.Args[2] == "upload" { - // Suppress non-error logs from the SDK. + // Suppress non-error logs from the SDK. This ensures that INFO / WARN logs + // from the SDK are not printed to stdout / stderr. logger.DefaultLogger = &logger.SimpleLogger{ Level: logger.LevelError, }