Skip to content

Commit

Permalink
Using new format from json logger
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvieira committed Oct 21, 2020
1 parent 68a65eb commit 5dad1e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion barterdude/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
)))
handler = logging.StreamHandler()
handler.setFormatter(jsonlogger.JsonFormatter(
'(levelname) (name) (pathname) (lineno)',
'%(levelname)s %(name)s %(pathname)s %(lineno)s',
timestamp=True
))
default_logger = logging.getLogger(BARTERDUDE_DEFAULT_APP_NAME)
Expand Down

0 comments on commit 5dad1e2

Please sign in to comment.