Skip to content

Commit

Permalink
Merge pull request #181 from skovtunenko/master
Browse files Browse the repository at this point in the history
Removed unconditional logging profile
  • Loading branch information
dawidd6 authored Oct 23, 2019
2 parents 7e4ad3d + ab2fed3 commit d9a9477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/log/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
func NewLogger(config *config.AppConfig, rollrusHook string) *logrus.Entry {
var log *logrus.Logger
environment := "production"
if true || config.Debug || os.Getenv("DEBUG") == "TRUE" { // TODO: remove true here
if config.Debug || os.Getenv("DEBUG") == "TRUE" {
environment = "development"
log = newDevelopmentLogger(config)
} else {
Expand Down

0 comments on commit d9a9477

Please sign in to comment.