Skip to content

Commit

Permalink
chore: Refactor logging format for Datadog pipeline integration (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilee2u authored Dec 19, 2024
1 parent 08242dd commit c4ee73f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edx_exams/settings/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ def get_logger_config(logging_env="no_env",
'disable_existing_loggers': False,
'formatters': {
'standard': {
'format': '%(asctime)s %(levelname)s %(process)d '
'[%(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 c4ee73f

Please sign in to comment.