From a7863efca29d19ea07b3cdbad23e2b4335694c97 Mon Sep 17 00:00:00 2001 From: sourabh_sourabh Date: Wed, 4 May 2022 11:53:01 +0100 Subject: Security Logging Fields - logback encoder and sleuth dependencies are added. - New appender is added to log JSON format content on console. Issue-ID: CPS-986 Signed-off-by: sourabh_sourabh Change-Id: I9e45a9d842831a87af3fb9ac309485110357f0c8 --- src/test/resources/application.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/test') diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml index 9bdacbe..ce0e95b 100644 --- a/src/test/resources/application.yml +++ b/src/test/resources/application.yml @@ -24,6 +24,8 @@ rest: base-path: /cps-temporal/api spring: + application: + name: cps-temporal datasource: url: ${DB_URL} username: ${DB_USERNAME} @@ -71,3 +73,6 @@ security: auth: username: testUser password: testPassword + +logging: + format: json -- cgit 1.2.3-korg