mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-21 21:44:08 +00:00
Add log-level option to cli (#584)
* add log-level option to cli * use app.Before * rm not needed
This commit is contained in:
@@ -63,6 +63,7 @@ func main() {
|
||||
Out: os.Stderr,
|
||||
},
|
||||
)
|
||||
app.Before = common.SetupConsoleLogger
|
||||
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
zlog.Fatal().Err(err).Msg("error running cli")
|
||||
|
Reference in New Issue
Block a user