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=8a4ae07c5b89441b53a91c2c85b838ea005eb0c4;hpb=7f6616e5d7e2759bc21fad0e363e4e356a8ec8f9;p=cps.git diff --git a/cps-service/src/main/resources/logback-spring.xml b/cps-service/src/main/resources/logback-spring.xml index 8a4ae07c5..ce1af1314 100644 --- a/cps-service/src/main/resources/logback-spring.xml +++ b/cps-service/src/main/resources/logback-spring.xml @@ -1,48 +1,75 @@ - - - - - - - - - - - - - - - - - ../log/${logName}.log - - ${logName}.%d{yyyy-MM-dd}.%i.log.zip - - ${maxFileSize} - ${maxHistory} - ${totalSizeCap} - - - ${debugPattern} + + + + + + + + + + + + + + + + + + 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" + } + + + - - 256 - - true + + + + + + + + + - - - - - - + - \ No newline at end of file +