diff options
author | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-05-04 11:38:52 +0100 |
---|---|---|
committer | sourabh_sourabh <sourabh.sourabh@est.tech> | 2022-05-09 23:58:14 +0100 |
commit | df26bc38a75f10650ce5785cdc9bd7b9516f6f25 (patch) | |
tree | 9bf05cfca390e23e1cc31d76d9fb99ceadf090a9 /src/main/resources/application.yml | |
parent | ce9cdeea8abc5c2f47d1456e6c14bd2935e638ce (diff) |
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 <sourabh.sourabh@est.tech>
Change-Id: Id7e4d836188da54b94144076a8755e4a2643a7ad
Diffstat (limited to 'src/main/resources/application.yml')
-rw-r--r-- | src/main/resources/application.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 71a689cd..8be97d2d 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -39,6 +39,8 @@ security: # This is a known issue with springfox and springboot introduced in 2.6.x: # https://github.com/springfox/springfox/issues/3462 spring: + application: + name: ncmp-dmi-plugin mvc: pathmatch: matching-strategy: ANT_PATH_MATCHER @@ -89,6 +91,7 @@ sdnc: password: ${SDNC_PASSWORD} logging: + format: json level: org.springframework: ERROR org.onap.cps: DEBUG |