aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/test
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-12-12 12:08:19 +0100
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2023-12-12 12:08:19 +0100
commite75aad44364533311e03c865bd00e95540bf5f34 (patch)
tree9dd2ff9bdcddb646bffd1e036f1ffe9cf45624ba /app/src/test
parent2caf8fbef7a20cc4e98975b40d21efc073195b77 (diff)
Enrich log messages with further metadata about requests
This includes: - endpoint - execution time - trace id Issue-ID: PORTALNG-70 Change-Id: Ia88bce25c1b29f18e6d36d3460f0c59c3689fd44 Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/resources/application.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/src/test/resources/application.yml b/app/src/test/resources/application.yml
index ace8c84..7092971 100644
--- a/app/src/test/resources/application.yml
+++ b/app/src/test/resources/application.yml
@@ -36,3 +36,9 @@ management:
enabled: true
java:
enabled: true
+
+logger:
+ traceIdHeaderName: "X-Request-Id"
+ enabled: true
+ excludePaths:
+ - "/actuator/**" \ No newline at end of file