From 783745964f1362fadd499f32dcd60325d247dcfe Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 29 Aug 2019 18:02:17 -0400 Subject: [PATCH] Change AlertSeverity to Severity in policy/engine Updated logback xml files, replacing AlertSeverity with Severity. Also fixed some spacing issues. Change-Id: I3e4b9163d5d897fe4402028b69c741f497aecfc5 Issue-ID: POLICY-1989 Signed-off-by: Jim Hahn --- BRMSGateway/src/main/resources/logback.xml | 150 ++++++++++++------------- ONAP-PAP-REST/src/main/resources/logback.xml | 138 +++++++++++------------ ONAP-PDP-REST/src/main/resources/logback.xml | 142 +++++++++++------------ ONAP-PDP/src/test/resources/logback-test.xml | 126 ++++++++++----------- ONAP-SDK-APP/src/main/resources/logback.xml | 148 ++++++++++++------------ ONAP-XACML/src/test/resources/logback-test.xml | 126 ++++++++++----------- POLICY-SDK-APP/src/test/resources/logback.xml | 124 ++++++++++---------- PolicyEngineAPI/src/main/resources/logback.xml | 148 ++++++++++++------------ 8 files changed, 551 insertions(+), 551 deletions(-) diff --git a/BRMSGateway/src/main/resources/logback.xml b/BRMSGateway/src/main/resources/logback.xml index b9e12a7b3..07a587212 100644 --- a/BRMSGateway/src/main/resources/logback.xml +++ b/BRMSGateway/src/main/resources/logback.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= ONAP Policy Engine ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ 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. @@ -22,73 +22,73 @@ - + - - - + - - + + - - - - - - - - - - + + + + - - - + + + + + --> --> - - - - - - - - + + + + + --> - - - + + + @@ -100,28 +100,28 @@ - - - - + ${logDirectory}/${auditLogName}.log ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB - + ${defaultAuditPattern} @@ -141,18 +141,18 @@ ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB - + ${defaultMetricPattern} - + 256 @@ -160,15 +160,15 @@ - + ${logDirectory}/${errorLogName}.log ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -176,27 +176,27 @@ ERROR - + ${defaultErrorPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log ${debugLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -204,44 +204,44 @@ DEBUG - + ${debugLoggerPattern} - + 256 true - - + + - + - + - + - + - - - + + + - \ No newline at end of file + diff --git a/ONAP-PAP-REST/src/main/resources/logback.xml b/ONAP-PAP-REST/src/main/resources/logback.xml index d7b118178..2cf21e105 100644 --- a/ONAP-PAP-REST/src/main/resources/logback.xml +++ b/ONAP-PAP-REST/src/main/resources/logback.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= ONAP-PAP-REST ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ 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. @@ -22,74 +22,74 @@ - + - - - + - - + + - - - - - - - - - - + + + + - - - + + + + + --> --> - - - - - - - - + + + + --> - - - + + + @@ -101,23 +101,23 @@ - - - - + ${logDirectory}/${auditLogName}.log ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -141,8 +141,8 @@ ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -151,7 +151,7 @@ ${defaultMetricPattern} - + 256 @@ -159,15 +159,15 @@ - + ${logDirectory}/${errorLogName}.log ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -179,22 +179,22 @@ ${defaultErrorPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log ${debugLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -206,36 +206,36 @@ ${debugLoggerPattern} - + 256 true - - + + - + - + - + - + - - - + + + diff --git a/ONAP-PDP-REST/src/main/resources/logback.xml b/ONAP-PDP-REST/src/main/resources/logback.xml index 23f870d37..ef1e38dac 100644 --- a/ONAP-PDP-REST/src/main/resources/logback.xml +++ b/ONAP-PDP-REST/src/main/resources/logback.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= ONAP-PDP-REST ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ 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. @@ -22,73 +22,73 @@ - + - - - + - - + + - - - - - - - - - + + + - - - + + + + + --> --> - - - - - - - - + + + + --> - - - + + + @@ -100,28 +100,28 @@ - - - - + ${logDirectory}/${auditLogName}.log ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB - + ${defaultAuditPattern} @@ -141,18 +141,18 @@ ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB - + ${defaultMetricPattern} - + 256 @@ -160,15 +160,15 @@ - + ${logDirectory}/${errorLogName}.log ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -180,22 +180,22 @@ ${defaultErrorPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log ${debugLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -203,41 +203,41 @@ DEBUG - + ${debugLoggerPattern} - + 256 true - - + + - + - + - + - + - - - + + + diff --git a/ONAP-PDP/src/test/resources/logback-test.xml b/ONAP-PDP/src/test/resources/logback-test.xml index 93f0a10b8..6fa8c855f 100644 --- a/ONAP-PDP/src/test/resources/logback-test.xml +++ b/ONAP-PDP/src/test/resources/logback-test.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= ONAP-PDP ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ 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. @@ -22,73 +22,73 @@ - + - - - + - - + + - - - - - - - - - - + + + + - - - + + + + + --> --> - - - - - - - - + + + + + --> - - - + + + @@ -100,15 +100,15 @@ - - - - + ${logDirectory}/${auditLogName}.log @@ -151,12 +151,12 @@ 5MB - ${defaultMetricPattern} - + 256 @@ -164,7 +164,7 @@ - + ${logDirectory}/${errorLogName}.log @@ -186,14 +186,14 @@ ${defaultErrorPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log @@ -215,36 +215,36 @@ ${debugLoggerPattern} - + 256 true - - + + - + - + - + - + - - - + + + diff --git a/ONAP-SDK-APP/src/main/resources/logback.xml b/ONAP-SDK-APP/src/main/resources/logback.xml index 134ecb8ab..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-2018 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,25 +20,25 @@ --> - - + - + - + @@ -46,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" /> @@ -81,53 +81,53 @@ - - - + + ${logDirectory}/${generalLogName}.log - - - ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + + ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB 30 - 10GB - + 10GB + ${applicationLoggerPattern} - + 256 true - - + ${logDirectory}/${auditLogName}.log - - - ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + + ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB 30 - 10GB - + 10GB + ${auditLoggerPattern} @@ -141,75 +141,75 @@ ${logDirectory}/${metricsLogName}.log - - - ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + + ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB 30 - 10GB - + 10GB + ${metricsLoggerPattern} - - + + 256 - + ${logDirectory}/${errorLogName}.log - - - ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + + ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB 30 - 10GB - + 10GB + ${errorLoggerPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log - - - ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + + ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip + + 50MB 30 - 10GB - + 10GB + ${defaultLoggerPattern} - + 256 - - - + + + @@ -218,21 +218,21 @@ - + - + - - + + - \ No newline at end of file + diff --git a/ONAP-XACML/src/test/resources/logback-test.xml b/ONAP-XACML/src/test/resources/logback-test.xml index cdfdac958..37a07841f 100644 --- a/ONAP-XACML/src/test/resources/logback-test.xml +++ b/ONAP-XACML/src/test/resources/logback-test.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= ONAP-XACML ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ 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. @@ -22,73 +22,73 @@ - + - - - + - - + + - - - - - - - - - - + + + + - - - + + + + + --> --> - - - - - - - - + + + + + --> - - - + + + @@ -100,15 +100,15 @@ - - - - + ${logDirectory}/${auditLogName}.log @@ -151,12 +151,12 @@ 5MB - ${defaultMetricPattern} - + 256 @@ -164,7 +164,7 @@ - + ${logDirectory}/${errorLogName}.log @@ -186,14 +186,14 @@ ${defaultErrorPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log @@ -215,36 +215,36 @@ ${debugLoggerPattern} - + 256 true - - + + - + - + - + - + - - - + + + diff --git a/POLICY-SDK-APP/src/test/resources/logback.xml b/POLICY-SDK-APP/src/test/resources/logback.xml index fc73b6af2..ea9a7b491 100644 --- a/POLICY-SDK-APP/src/test/resources/logback.xml +++ b/POLICY-SDK-APP/src/test/resources/logback.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= ONAP-PAP-REST ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ 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. @@ -22,74 +22,74 @@ - + - - - + - - + + - - - - - - - - - - + + + + - - - + + + + + --> --> - - - - - - - - + + + + --> - - - + + + @@ -101,15 +101,15 @@ - - - - + ${logDirectory}/${auditLogName}.log @@ -152,12 +152,12 @@ 5MB - ${defaultMetricPattern} - + 256 @@ -165,7 +165,7 @@ - + ${logDirectory}/${errorLogName}.log @@ -187,14 +187,14 @@ ${defaultErrorPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log @@ -216,36 +216,36 @@ ${debugLoggerPattern} - + 256 true - - + + - + - + - + - + - - - + + + diff --git a/PolicyEngineAPI/src/main/resources/logback.xml b/PolicyEngineAPI/src/main/resources/logback.xml index 88e062cd8..c3eec49b5 100644 --- a/PolicyEngineAPI/src/main/resources/logback.xml +++ b/PolicyEngineAPI/src/main/resources/logback.xml @@ -2,14 +2,14 @@ ============LICENSE_START======================================================= PolicyEngineAPI ================================================================================ - Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. + Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. ================================================================================ 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. @@ -22,73 +22,73 @@ - + - - - + - - + + - - - - - - - - - - + + + + - - - + + + + + --> --> - - - - - - - - + + + + + --> - - - + + + @@ -100,28 +100,28 @@ - - - - + ${logDirectory}/${auditLogName}.log ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB - + ${defaultAuditPattern} @@ -141,18 +141,18 @@ ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB - + ${defaultMetricPattern} - + 256 @@ -160,15 +160,15 @@ - + ${logDirectory}/${errorLogName}.log ${logDirectory}/${errorLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -176,27 +176,27 @@ ERROR - + ${defaultErrorPattern} - + 256 - + ${debugLogDirectory}/${debugLogName}.log ${debugLogDirectory}/${debugLogName}.%d{yyyy-MM-dd}.%i.log.zip - - + + 50MB 30 10GB @@ -204,41 +204,41 @@ DEBUG - + ${debugLoggerPattern} - + 256 true - - + + - + - + - + - + - - - + + + -- 2.16.6