mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-03-22 06:45:03 +01:00
Use stdout
This commit is contained in:
@@ -32,6 +32,7 @@ const (
|
|||||||
func newActionLogger(actionName string, dryrun bool) *logrus.Entry {
|
func newActionLogger(actionName string, dryrun bool) *logrus.Entry {
|
||||||
logger := logrus.New()
|
logger := logrus.New()
|
||||||
logger.SetFormatter(formatter)
|
logger.SetFormatter(formatter)
|
||||||
|
logger.SetOutput(os.Stdout)
|
||||||
logger.SetLevel(logrus.GetLevel())
|
logger.SetLevel(logrus.GetLevel())
|
||||||
rtn := logger.WithFields(logrus.Fields{"action_name": actionName, "dryrun": dryrun})
|
rtn := logger.WithFields(logrus.Fields{"action_name": actionName, "dryrun": dryrun})
|
||||||
return rtn
|
return rtn
|
||||||
|
|||||||
Reference in New Issue
Block a user