summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpranavdi <Pranav.Dixit@amdocs.com>2017-09-28 14:44:27 +0530
committerpranavdi <Pranav.Dixit@amdocs.com>2017-09-28 15:07:07 +0530
commit04c7cbf7d4336c192ba3ecfc898a961913775074 (patch)
tree8d0bf07509f08d0cec6a3760d4907e14c76471e6
parentec3e4929b86b346c6c90369bc9bd186ce960611a (diff)
Fix logback log pattern
Fix the pattern in some logback files which causes the Timestamp to be printed in invalid format Change-Id: I8cab16393986fc356ff5f23b4124d8475aaef012 Issue-Id: LOG-65 Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
-rw-r--r--onap/policy/conf/drools/logback.xml2
-rw-r--r--onap/policy/conf/ep_sdk_app/logback.xml2
-rw-r--r--onap/policy/conf/pypdpserver/logback.xml2
-rw-r--r--onap/policy/conf/xacml-pap-rest/logback.xml2
-rw-r--r--onap/policy/conf/xacml-pdp-rest/logback.xml2
-rw-r--r--onap/so/conf/logback.apihandler-infra.xml2
-rw-r--r--onap/so/conf/logback.appc.xml2
-rw-r--r--onap/so/conf/logback.asdc.xml2
-rw-r--r--onap/so/conf/logback.bpmn.xml2
-rw-r--r--onap/so/conf/logback.msorequestsdbadapter.xml2
-rw-r--r--onap/so/conf/logback.network.xml2
-rw-r--r--onap/so/conf/logback.sdnc.xml2
-rw-r--r--onap/so/conf/logback.tenant.xml2
-rw-r--r--onap/so/conf/logback.vnf.xml2
-rw-r--r--onap/vid/conf/logback.xml2
15 files changed, 15 insertions, 15 deletions
diff --git a/onap/policy/conf/drools/logback.xml b/onap/policy/conf/drools/logback.xml
index 17781bb..39cea82 100644
--- a/onap/policy/conf/drools/logback.xml
+++ b/onap/policy/conf/drools/logback.xml
@@ -28,7 +28,7 @@
<property name="subComponentName" value="drools" />
<!-- The directories where logs are written -->
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/policy/conf/ep_sdk_app/logback.xml b/onap/policy/conf/ep_sdk_app/logback.xml
index 1e6de9d..5b38caf 100644
--- a/onap/policy/conf/ep_sdk_app/logback.xml
+++ b/onap/policy/conf/ep_sdk_app/logback.xml
@@ -33,7 +33,7 @@
<property name="subComponentName" value="ep_sdk_app" />
<!-- The directories where logs are written -->
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="generalLogName" value="application" />
<property name="errorLogName" value="error" />
diff --git a/onap/policy/conf/pypdpserver/logback.xml b/onap/policy/conf/pypdpserver/logback.xml
index 3ce0c6b..47f87e6 100644
--- a/onap/policy/conf/pypdpserver/logback.xml
+++ b/onap/policy/conf/pypdpserver/logback.xml
@@ -28,7 +28,7 @@
<property name="subComponentName" value="pypdpserver" />
<!-- The directories where logs are written -->
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/policy/conf/xacml-pap-rest/logback.xml b/onap/policy/conf/xacml-pap-rest/logback.xml
index 10db996..4b1deec 100644
--- a/onap/policy/conf/xacml-pap-rest/logback.xml
+++ b/onap/policy/conf/xacml-pap-rest/logback.xml
@@ -28,7 +28,7 @@
<property name="subComponentName" value="xacml-pap-rest" />
<!-- The directories where logs are written -->
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/policy/conf/xacml-pdp-rest/logback.xml b/onap/policy/conf/xacml-pdp-rest/logback.xml
index d085151..f84d9b6 100644
--- a/onap/policy/conf/xacml-pdp-rest/logback.xml
+++ b/onap/policy/conf/xacml-pdp-rest/logback.xml
@@ -28,7 +28,7 @@
<property name="subComponentName" value="xacml-pdp-rest" />
<!-- The directories where logs are written -->
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.apihandler-infra.xml b/onap/so/conf/logback.apihandler-infra.xml
index fb160b2..4278908 100644
--- a/onap/so/conf/logback.apihandler-infra.xml
+++ b/onap/so/conf/logback.apihandler-infra.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="apiHandlerInfra" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.appc.xml b/onap/so/conf/logback.appc.xml
index 8b69ef2..530926b 100644
--- a/onap/so/conf/logback.appc.xml
+++ b/onap/so/conf/logback.appc.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="appcAdapter" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.asdc.xml b/onap/so/conf/logback.asdc.xml
index d9c5eb3..4e4d3b7 100644
--- a/onap/so/conf/logback.asdc.xml
+++ b/onap/so/conf/logback.asdc.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="asdcController" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.bpmn.xml b/onap/so/conf/logback.bpmn.xml
index a28488b..676b812 100644
--- a/onap/so/conf/logback.bpmn.xml
+++ b/onap/so/conf/logback.bpmn.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="bpmn" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.msorequestsdbadapter.xml b/onap/so/conf/logback.msorequestsdbadapter.xml
index e96a542..45a3990 100644
--- a/onap/so/conf/logback.msorequestsdbadapter.xml
+++ b/onap/so/conf/logback.msorequestsdbadapter.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="requestDB" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.network.xml b/onap/so/conf/logback.network.xml
index aa15daa..2cce930 100644
--- a/onap/so/conf/logback.network.xml
+++ b/onap/so/conf/logback.network.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="networkAdapter" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.sdnc.xml b/onap/so/conf/logback.sdnc.xml
index e51a44d..b68446c 100644
--- a/onap/so/conf/logback.sdnc.xml
+++ b/onap/so/conf/logback.sdnc.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="sdncAdapter" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.tenant.xml b/onap/so/conf/logback.tenant.xml
index 4e39ced..d79171d 100644
--- a/onap/so/conf/logback.tenant.xml
+++ b/onap/so/conf/logback.tenant.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="tenantAdapter" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/so/conf/logback.vnf.xml b/onap/so/conf/logback.vnf.xml
index 475b40e..3440833 100644
--- a/onap/so/conf/logback.vnf.xml
+++ b/onap/so/conf/logback.vnf.xml
@@ -4,7 +4,7 @@
<property name="componentName" value="so" />
<property name="subComponentName" value="vnfAdapter" />
<property name="logDirectory" value="${logDir}/${componentName}/${subComponentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />
diff --git a/onap/vid/conf/logback.xml b/onap/vid/conf/logback.xml
index 34bb582..3d78b8f 100644
--- a/onap/vid/conf/logback.xml
+++ b/onap/vid/conf/logback.xml
@@ -25,7 +25,7 @@
<property name="componentName" value="vid" />
<!-- The directory where logs are written -->
<property name="logDirectory" value="${logDir}/${componentName}" />
- <property name="pattern" value="%d{&amp;quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&amp;quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&quot;, UTC}\t[%thread]\t%-5level\t%logger\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
<!-- log file names -->
<property name="generalLogName" value="application" />
<property name="errorLogName" value="error" />