File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
packages/service-library/src/servicelib Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -144,10 +144,10 @@ def config_all_loggers(
144144 "| log_source=%(name)s:%(funcName)s(%(lineno)d) "
145145 "| log_uid=%(log_uid)s "
146146 "| log_oec=%(log_oec)s"
147- "| trace_id =%(otelTraceID)s "
148- "| span_id =%(otelSpanID)s "
149- "| resource .service.name=%(otelServiceName)s "
150- "| trace_sampled =%(otelTraceSampled)s] "
147+ "| log_trace_id =%(otelTraceID)s "
148+ "| log_span_id =%(otelSpanID)s "
149+ "| log_resource .service.name=%(otelServiceName)s "
150+ "| log_trace_sampled =%(otelTraceSampled)s] "
151151 "| log_msg=%(message)s"
152152 )
153153 setup_log_tracing (tracing_settings = tracing_settings )
@@ -156,7 +156,7 @@ def config_all_loggers(
156156 if tracing_settings is not None :
157157 fmt = (
158158 "%(levelname)s: [%(asctime)s/%(processName)s] "
159- "[trace_id =%(otelTraceID)s span_id =%(otelSpanID)s resource .service.name=%(otelServiceName)s trace_sampled =%(otelTraceSampled)s] "
159+ "[log_trace_id =%(otelTraceID)s log_span_id =%(otelSpanID)s log_resource .service.name=%(otelServiceName)s log_trace_sampled =%(otelTraceSampled)s] "
160160 "[%(name)s:%(funcName)s(%(lineno)d)] - %(message)s"
161161 )
162162
You can’t perform that action at this time.
0 commit comments