Do not print log level on CLI (#2638)

if it's not in debug log level

closes https://github.com/woodpecker-ci/woodpecker/issues/1764
This commit is contained in:
qwerty287
2023-10-24 12:23:42 +02:00
committed by GitHub
parent a1a35eb7be
commit d5e68efc95
5 changed files with 8 additions and 9 deletions

View File

@@ -49,7 +49,7 @@ import (
)
func run(c *cli.Context) error {
common.SetupGlobalLogger(c)
common.SetupGlobalLogger(c, true)
agentConfigPath := c.String("agent-config")
hostname := c.String("hostname")