mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-11 17:50:58 +00:00
fix: set logger with trace level
This commit is contained in:
parent
96bec04f10
commit
0921d4e865
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…
Add table
Add a link
Reference in a new issue