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=04bff86bd27300ad9d803992f2f1a0472f0035ac;hpb=69fc5b35d884afaea6cd4d96734a4f7607723997;p=cps.git diff --git a/cps-service/src/main/resources/logback-spring.xml b/cps-service/src/main/resources/logback-spring.xml index 04bff86bd2..ce1af13143 100644 --- a/cps-service/src/main/resources/logback-spring.xml +++ b/cps-service/src/main/resources/logback-spring.xml @@ -1,62 +1,75 @@ - - + - + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. - + SPDX-License-Identifier: Apache-2.0 + ============LICENSE_END========================================================= +--> - + - + + - - - ${all-log-pattern} - + + + + + + + + + + + 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" + } + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file +