Skip to content

Commit

Permalink
Merge pull request #30 from olxbr/fix/redacted-config
Browse files Browse the repository at this point in the history
Fix redacted config variable
  • Loading branch information
dmvieira committed Jun 10, 2020
2 parents acf8f5d + ef8745e commit e174611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions barterdude/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"BARTERDUDE_DEFAULT_LOG_LEVEL", logging.INFO
)
)
BARTERDUDE_LOG_REDACTED = bool(os.environ.get(
BARTERDUDE_LOG_REDACTED = bool(int(os.environ.get(
"BARTERDUDE_LOG_REDACTED", "1"
))
)))
handler = logging.StreamHandler()
handler.setFormatter(jsonlogger.JsonFormatter(
'(levelname) (name) (pathname) (lineno)',
Expand Down

0 comments on commit e174611

Please sign in to comment.