X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-service%2Fsrc%2Fmain%2Fresources%2Flogback-spring.xml;h=ce1af13143c0ef72ee6f9d6991a85c75dc88ed1e;hb=ac5ae3e24e347bb6d643e9b4e5ebcf3baa7152a2;hp=3bba9f1bb7fb35d7735f0a15c4c65a88dff92c60;hpb=b0c2031e8d546336685c84cfccef8d515144dfc6;p=cps.git diff --git a/cps-service/src/main/resources/logback-spring.xml b/cps-service/src/main/resources/logback-spring.xml index 3bba9f1bb7..ce1af13143 100644 --- a/cps-service/src/main/resources/logback-spring.xml +++ b/cps-service/src/main/resources/logback-spring.xml @@ -1,6 +1,6 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + true + + { + "logTimeStamp": "${currentTimeStamp:-}", + "logTypeName": "", + "logLevel": "%level", + "traceId": "%X{traceId:-}", + "statusCode": "", + "principalId": "${username:-}", + "serviceName": "${springAppName:-}", + "message": "%message", + "spanId": "%X{spanId:-}", + "processId": "${PID:-}", + "threadName": "%thread", + "class": "%logger{40}", + "exception": "%wEx" + } + + + + + - - - ${all-log-pattern} - + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -