Skip to content

Commit

Permalink
chore: fix format string
Browse files Browse the repository at this point in the history
  • Loading branch information
ilee2u committed Dec 19, 2024
1 parent 54ebf60 commit a0e7f78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion designer/settings/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ def get_logger_config(log_dir='/var/tmp',
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '[%(name)s] [user %(userid)s] [ip %(remoteip)s] %(filename)s:%(lineno)d - %(message)s',
'format': '%(asctime)s %(levelname)s [%(name)s] [%(filename)s:%(lineno)d] '
'[dd.trace_id=%(dd.trace_id)s dd.span_id=%(dd.span_id)s] - %(message)s',
},
'syslog_format': {'format': syslog_format},
'raw': {'format': '%(message)s'},
Expand Down

0 comments on commit a0e7f78

Please sign in to comment.