mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-09-22 12:08:34 -04:00
set default log values
This commit is contained in:
1 file changed
+2
@@ -24,12 +24,14 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "log-pretty",
|
||||
Value: true,
|
||||
Usage: "Enable pretty logging",
|
||||
EnvVars: []string{"OCS_LOG_PRETTY"},
|
||||
Destination: &cfg.Log.Pretty,
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "log-color",
|
||||
Value: true,
|
||||
Usage: "Enable colored logging",
|
||||
EnvVars: []string{"OCS_LOG_COLOR"},
|
||||
Destination: &cfg.Log.Color,
|
||||
|
||||
Reference in new issue
Block a user