mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-04 14:35:32 +00:00
fix: set logger with trace level
This commit is contained in:
1 parent
b9a9812ad9
commit
97629ae8af
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user