Update internal/app/run/runner.go
Co-authored-by: Jonathan Tran <jonnytran@gmail.com>
This commit is contained in:
parent
233bf92f9b
commit
a2b35caa31
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ func (r *Runner) run(ctx context.Context, task *runnerv1.Task, reporter *report.
|
|||
// add logger recorders
|
||||
ctx = common.WithLoggerHook(ctx, reporter)
|
||||
|
||||
if log.GetLevel() <= log.InfoLevel {
|
||||
if !log.IsLevelEnabled(log.DebugLevel) {
|
||||
ctx = runner.WithJobLoggerFactory(ctx, NullLogger{})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue