X-Git-Url: https://gerrit.onap.org/r/gitweb?p=policy%2Fengine.git;a=blobdiff_plain;f=ONAP-SDK-APP%2Fsrc%2Fmain%2Fresources%2Flogback.xml;h=e12ca87c6c554be1c91b2241b2e4712a9298ff54;hp=fe4aac91925944574df49b8f13b55cb8268d7c5e;hb=783745964f1362fadd499f32dcd60325d247dcfe;hpb=b51d8192e662e3ee8775235500cabb875f480e2b diff --git a/ONAP-SDK-APP/src/main/resources/logback.xml b/ONAP-SDK-APP/src/main/resources/logback.xml index fe4aac919..e12ca87c6 100644 --- a/ONAP-SDK-APP/src/main/resources/logback.xml +++ b/ONAP-SDK-APP/src/main/resources/logback.xml @@ -3,14 +3,14 @@ ================================================================================ ONAP Portal SDK ================================================================================ - Copyright (C) 2017 AT&T Intellectual Property + Copyright (C) 2017-2019 AT&T Intellectual Property ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at - + http://www.apache.org/licenses/LICENSE-2.0 - + 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. @@ -20,24 +20,25 @@ --> - - - + + + - - + + - + - - + + @@ -45,29 +46,29 @@ - - + + + value="%X{AuditLogBeginTimestamp}|%X{AuditLogEndTimestamp}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{PartnerName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDescription}|%X{InstanceUUID}|%.-5level|%X{Severity}|%X{ServerIPAddress}|%X{Timer}|%X{ServerFQDN}|%X{ClientIPAddress}|%X{ClassName}|%X{Unused}|%X{ProcessKey}|%X{CustomField1}|%X{CustomField2}|%X{CustomField3}|%X{CustomField4}| %msg%n" /> + value="%X{MetricsLogBeginTimestamp}|%X{MetricsLogEndTimestamp}|%X{RequestId}|%X{ServiceInstanceId}|%thread|%X{VirtualServerName}|%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%X{StatusCode}|%X{ResponseCode}|%X{ResponseDescription}|%X{InstanceUUID}|%.-5level|%X{Severity}|%X{ServerIPAddress}|%X{Timer}|%X{ServerFQDN}|%X{ClientIPAddress}|%X{ClassName}|%X{Unused}|%X{ProcessKey}|%X{TargetVisualEntity}|%X{CustomField1}|%X{CustomField2}|%X{CustomField3}|%X{CustomField4}| %msg%n" /> + value="%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%thread|%X{ServiceName}|%X{PartnerName}|%X{TargetEntity}|%X{TargetServiceName}|%X{ClassName}|%X{Severity}|%X{ErrorCode}|%X{ErrorDescription}| %msg%n" /> + value="%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%thread|%X{ClassName}| %msg%n" /> + value="%date{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}|%X{RequestId}|%thread|%class{36}| %msg%n" /> @@ -80,172 +81,53 @@ - - - + + ${logDirectory}/${generalLogName}.log - - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip - - - 30 - 3GB - + + + ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log.zip + + + 50MB + 30 + 10GB + ${applicationLoggerPattern} - + - + 256 true - - - - - - - - - - - - - - - + ${logDirectory}/${auditLogName}.log - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip - - - 30 - 3GB - + + + ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip + + + 50MB + 30 + 10GB + ${auditLoggerPattern} @@ -259,112 +141,98 @@ ${logDirectory}/${metricsLogName}.log - - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip - - - 30 - 3GB - + + + ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip + + + 50MB + 30 + 10GB + ${metricsLoggerPattern} - - + + 256 - + ${logDirectory}/${errorLogName}.log - - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.log.zip - - - 30 - 3GB - + + + ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip + + + 50MB + 30 + 10GB + ${errorLoggerPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log - - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip - - - 30 - 3GB - + + + ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip + + + 50MB + 30 + 10GB + ${defaultLoggerPattern} - + 256 - - - - - - + + + + + - - - - + + - - - + + + - - - + + + - - - + + + - - + - \ No newline at end of file +