Disable pretty logging by default for perf reasons

This commit is contained in:
Ilja Neumann
2020-12-17 20:31:00 +01:00
parent fe7349c7e5
commit 5e9d4d7286
2 changed files with 8 additions and 1 deletions

View File

@@ -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

View File

@@ -23,7 +23,7 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
Destination: &cfg.Log.Level,
},
&cli.BoolFlag{
Value: true,
Value: false,
Name: "log-pretty",
Usage: "Enable pretty logging",
EnvVars: []string{"OCIS_LOG_PRETTY"},