Skip to content

Commit

Permalink
Disable pretty logging by default for perf reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
IljaN committed Dec 18, 2020
1 parent fe7349c commit 5e9d4d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions changelog/unreleased/disable-pretty-log.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion ocis/pkg/flagset/flagset.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 5e9d4d7

Please sign in to comment.