Skip to content

Commit

Permalink
Get rid of a var.
Browse files Browse the repository at this point in the history
  • Loading branch information
idlesign committed Nov 29, 2020
1 parent e798c81 commit ddc2793
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions uwsgiconf/presets/nice.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,10 @@ def configure_logging_json(self):
))

new_line = logging.encoders.newline()
t = vars_enc.TIME_FORMAT('iso')

log_template = (
'{'
f'"dt": "{t}", '
'"dt": "' + str(vars_enc.TIME_FORMAT('iso')) + '", '
'"src": "__src__", '
f'"msg": "{vars_enc.MESSAGE}", '
'"ctx": {}, '
Expand Down

0 comments on commit ddc2793

Please sign in to comment.