fix: set logger with trace level
This commit is contained in:
parent
b9a9812ad9
commit
97629ae8af
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ func WithJobLogger(ctx context.Context, jobID string, jobName string, config *Co
|
|||
}
|
||||
logger.SetFormatter(formatter)
|
||||
logger.SetOutput(os.Stdout)
|
||||
logger.SetLevel(logrus.GetLevel())
|
||||
logger.SetLevel(logrus.TraceLevel) // to be aware of steps
|
||||
rtn := logger.WithFields(logrus.Fields{
|
||||
"job": jobName,
|
||||
"jobID": jobID,
|
||||
|
|
Loading…
Reference in a new issue