Revert "Configure log level to info by default (#267)" (#307)

## Changes

This reverts commit e7a7e5b95a.

Job and pipeline runs print progress information now. No need to
continue to rely on logging for this.

## Tests
This commit is contained in:
Pieter Noordhuis 2023-04-05 15:37:09 +02:00 committed by GitHub
parent 1ad5fdaaf0
commit 33645ae6ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 5 deletions

View File

@ -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,
}
}

View File

@ -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) {