Skip to content

Commit

Permalink
@matusdrobuliak66 keep 'log_' prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
bisgaard-itis committed Dec 4, 2024
1 parent ae68ed9 commit ea638c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/service-library/src/servicelib/logging_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ def config_all_loggers(
"| log_source=%(name)s:%(funcName)s(%(lineno)d) "
"| log_uid=%(log_uid)s "
"| log_oec=%(log_oec)s"
"| trace_id=%(otelTraceID)s "
"| span_id=%(otelSpanID)s "
"| resource.service.name=%(otelServiceName)s "
"| trace_sampled=%(otelTraceSampled)s] "
"| log_trace_id=%(otelTraceID)s "
"| log_span_id=%(otelSpanID)s "
"| log_resource.service.name=%(otelServiceName)s "
"| log_trace_sampled=%(otelTraceSampled)s] "
"| log_msg=%(message)s"
)
setup_log_tracing(tracing_settings=tracing_settings)
Expand All @@ -156,7 +156,7 @@ def config_all_loggers(
if tracing_settings is not None:
fmt = (
"%(levelname)s: [%(asctime)s/%(processName)s] "
"[trace_id=%(otelTraceID)s span_id=%(otelSpanID)s resource.service.name=%(otelServiceName)s trace_sampled=%(otelTraceSampled)s] "
"[log_trace_id=%(otelTraceID)s log_span_id=%(otelSpanID)s log_resource.service.name=%(otelServiceName)s log_trace_sampled=%(otelTraceSampled)s] "
"[%(name)s:%(funcName)s(%(lineno)d)] - %(message)s"
)

Expand Down

0 comments on commit ea638c7

Please sign in to comment.