diff --git a/src/accounts/contacts/logging.conf b/src/accounts/contacts/logging.conf index 861a53147..e76e66b34 100644 --- a/src/accounts/contacts/logging.conf +++ b/src/accounts/contacts/logging.conf @@ -28,6 +28,6 @@ formatter=generic args=(sys.stdout, ) [formatter_generic] -format={"timestamp": "%(asctime)s", "message": "%(funcName)s | %(message)s", "severity": "%(levelname)s"} +format={"timestamp": "%(asctime)s", "message": "%(funcName)s | %(message)s", "%(filename)s": "%(lineno)d", "trace_id": "%(otelTraceID)s", "span_id": "%(otelSpanID)s", "service.name": "%(otelServiceName)s", "severity": "%(levelname)s"} datefmt=%Y-%m-%d %H:%M:%S class=logging.Formatter diff --git a/src/accounts/userservice/logging.conf b/src/accounts/userservice/logging.conf index 8dc34ef35..2f0352e09 100644 --- a/src/accounts/userservice/logging.conf +++ b/src/accounts/userservice/logging.conf @@ -28,6 +28,6 @@ formatter=generic args=(sys.stdout, ) [formatter_generic] -format={"timestamp": "%(asctime)s", "message": "%(funcName)s | %(message)s", "severity": "%(levelname)s"} +format={"timestamp": "%(asctime)s", "message": "%(funcName)s | %(message)s", "%(filename)s": "%(lineno)d", "trace_id": "%(otelTraceID)s", "span_id": "%(otelSpanID)s", "service.name": "%(otelServiceName)s", "severity": "%(levelname)s"} datefmt=%Y-%m-%d %H:%M:%S class=logging.Formatter diff --git a/src/frontend/logging.conf b/src/frontend/logging.conf index 20c114d08..5d5b6e86a 100644 --- a/src/frontend/logging.conf +++ b/src/frontend/logging.conf @@ -28,6 +28,6 @@ formatter=generic args=(sys.stdout, ) [formatter_generic] -format={"timestamp": "%(asctime)s", "message": "%(funcName)s | %(message)s", "severity": "%(levelname)s"} +format={"timestamp": "%(asctime)s", "message": "%(funcName)s | %(message)s", "%(filename)s": "%(lineno)d", "trace_id": "%(otelTraceID)s", "span_id": "%(otelSpanID)s", "service.name": "%(otelServiceName)s", "severity": "%(levelname)s"} datefmt=%Y-%m-%d %H:%M:%S class=logging.Formatter