Skip to content

Commit

Permalink
fix logging conversion asc/utf
Browse files Browse the repository at this point in the history
  • Loading branch information
benderl committed Jan 17, 2022
1 parent 3155afd commit d323da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/helpermodules/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def setup_logging_stdout():
if not root_logger.hasHandlers():
handler = logging.StreamHandler(sys.stdout)
handler.setFormatter(
logging.Formatter("%(asctime)s: PID: %(process)d: %(name)s: %(message)s", datefmt="%Y-%m-%d %H:%M:%S")
logging.Formatter(u"%(asctime)s: PID: %(process)d: %(name)s: %(message)s", datefmt="%Y-%m-%d %H:%M:%S")
)
root_logger.addHandler(handler)
root_logger.setLevel(get_log_level_from_environment())
Expand Down

0 comments on commit d323da5

Please sign in to comment.