Disable pretty logging by default for perf reasons
This commit is contained in:
@@ -0,0 +1,7 @@
|
|||||||
|
Change: Disable pretty logging by default
|
||||||
|
|
||||||
|
Tags: ocis
|
||||||
|
|
||||||
|
Disable pretty logging default for performance reasons.
|
||||||
|
|
||||||
|
https://github.com/owncloud/ocis/pull/1133
|
||||||
@@ -23,7 +23,7 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
|
|||||||
Destination: &cfg.Log.Level,
|
Destination: &cfg.Log.Level,
|
||||||
},
|
},
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
Value: true,
|
Value: false,
|
||||||
Name: "log-pretty",
|
Name: "log-pretty",
|
||||||
Usage: "Enable pretty logging",
|
Usage: "Enable pretty logging",
|
||||||
EnvVars: []string{"OCIS_LOG_PRETTY"},
|
EnvVars: []string{"OCIS_LOG_PRETTY"},
|
||||||
|
|||||||
Reference in New Issue
Block a user