diff --git a/libs/flags/log_level_flag.go b/libs/flags/log_level_flag.go index 6618d10b9..35850b315 100644 --- a/libs/flags/log_level_flag.go +++ b/libs/flags/log_level_flag.go @@ -25,9 +25,7 @@ type LogLevelFlag struct { func NewLogLevelFlag() LogLevelFlag { return LogLevelFlag{ - // Note: we log at INFO level by default until - // we implement progress reporting to stdout/stderr. - l: log.LevelInfo, + l: log.LevelDisabled, } } diff --git a/libs/flags/log_level_flag_test.go b/libs/flags/log_level_flag_test.go index 7507fdfbe..ca54d8a9c 100644 --- a/libs/flags/log_level_flag_test.go +++ b/libs/flags/log_level_flag_test.go @@ -10,8 +10,8 @@ import ( func TestLogLevelFlagDefault(t *testing.T) { f := NewLogLevelFlag() - assert.Equal(t, log.LevelInfo, f.Level()) - assert.Equal(t, "info", f.String()) + assert.Equal(t, log.LevelDisabled, f.Level()) + assert.Equal(t, "disabled", f.String()) } func TestLogLevelFlagSetValid(t *testing.T) {