mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
da0e08d72c
commit
bddbc5dc87
3
main.go
3
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,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue