From 54eb2f2680d4f2447a4d48b612b2b83e37d90754 Mon Sep 17 00:00:00 2001 From: Brinda Santh Date: Thu, 7 Nov 2019 19:06:19 -0500 Subject: Add rest client invocation log tracing. Issue-ID: CCSDK-1046 Signed-off-by: Brinda Santh Change-Id: Ie44a1b2628132aa44bc923a4d622544db03b46b0 --- .../src/main/resources/application-dev.properties | 4 ++-- .../application/src/main/resources/logback.xml | 22 +++++++++++++++------- .../src/test/resources/logback-test.xml | 2 +- 3 files changed, 18 insertions(+), 10 deletions(-) (limited to 'ms/blueprintsprocessor/application/src') diff --git a/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties b/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties index faabb80e7..485b0bfee 100755 --- a/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties +++ b/ms/blueprintsprocessor/application/src/main/resources/application-dev.properties @@ -24,8 +24,8 @@ # Web server config server.port=8081 # Used in Health Check -endpoints.user.name=ccsdkapps -endpoints.user.password=ccsdkapps +security.user.password: {bcrypt}$2a$10$duaUzVUVW0YPQCSIbGEkQOXwafZGwQ/b32/Ys4R1iwSSawFgz7QNu +security.user.name: ccsdkapps ### START -Controller Blueprints Properties # Load Resource Source Mappings diff --git a/ms/blueprintsprocessor/application/src/main/resources/logback.xml b/ms/blueprintsprocessor/application/src/main/resources/logback.xml index 9d2b82f25..e1389a66f 100644 --- a/ms/blueprintsprocessor/application/src/main/resources/logback.xml +++ b/ms/blueprintsprocessor/application/src/main/resources/logback.xml @@ -20,12 +20,20 @@ - - - - ${defaultPattern} - + + + + + white + + + + + ${defaultPattern} + + + @@ -34,7 +42,7 @@ - + diff --git a/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml b/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml index f635e7925..90dfed324 100644 --- a/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml +++ b/ms/blueprintsprocessor/application/src/test/resources/logback-test.xml @@ -23,7 +23,7 @@ - %${color}(%d{HH:mm:ss.SSS} %-5level %-40.40logger{39} : %msg%n) + %${color}(%d{HH:mm:ss.SSS}|%X{RequestID}|%X{InvocationID}| %-5level %-40.40logger{39} : %msg%n) -- cgit 1.2.3-korg