diff --git a/plugins/common/log.go b/plugins/common/log.go index dd3992e83..68f130ba0 100644 --- a/plugins/common/log.go +++ b/plugins/common/log.go @@ -19,7 +19,7 @@ func LogInfo1(text string) { // LogInfo1Quiet is the info1 header formatter (with quiet option) func LogInfo1Quiet(text string) { - if os.Getenv("DOKKU_QUIET_OUTPUT") != "" { + if os.Getenv("DOKKU_QUIET_OUTPUT") == "" { LogInfo1(text) } } @@ -45,7 +45,7 @@ func LogVerbose(text string) { // LogVerboseQuiet is the verbose log formatter // prints indented text to stdout (with quiet option) func LogVerboseQuiet(text string) { - if os.Getenv("DOKKU_QUIET_OUTPUT") != "" { + if os.Getenv("DOKKU_QUIET_OUTPUT") == "" { LogVerbose(text) } }