X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-service%2Fsrc%2Fmain%2Fresources%2Flogback-spring.xml;h=03076023b370c9317ff28d0e93ec753e31488256;hb=e4f3b392b383910398a7fe8c9315d06e9c81e930;hp=04bff86bd27300ad9d803992f2f1a0472f0035ac;hpb=4a0676c9cebd3671c9dd2ec522cdd6aa70e818fd;p=cps.git diff --git a/cps-service/src/main/resources/logback-spring.xml b/cps-service/src/main/resources/logback-spring.xml index 04bff86bd..03076023b 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 +