summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpranavdi <Pranav.Dixit@amdocs.com>2017-09-26 10:18:29 +0530
committerpranavdi <Pranav.Dixit@amdocs.com>2017-09-26 10:18:29 +0530
commitd5b86af39c170422fd57a20fa89b5c6671e011bb (patch)
tree4d1a5af055414ca49e4b8b27c1cf260843d896a6
parent73e8f0816a2aa923ce5e0f72109f5b8bf3662e2d (diff)
Update the log pattern for Policy
Remove the length restriction on logger field in the log Change-Id: Ica319ecb22c9e2f0af028607634e313a14c9c416 Issue-Id: LOG-64 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
5 files changed, 5 insertions, 5 deletions
diff --git a/onap/policy/conf/drools/logback.xml b/onap/policy/conf/drools/logback.xml
index 47d0306..17781bb 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{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <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" />
<!-- 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 401a638..1e6de9d 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{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <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" />
<!-- 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 3abdaac..3ce0c6b 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{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <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" />
<!-- 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 e8b145c..10db996 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{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <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" />
<!-- 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 449dc2a..d085151 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{36}\t%replace(%replace(%replace(%mdc){'\t','\\\\t'}){', ','\t'}){'\n', '\\\\n'}\t%replace(%replace(%msg){'\n', '\\\\n'}){'\t','\\\\t'}%n" />
+ <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" />
<!-- log file names -->
<property name="errorLogName" value="error" />
<property name="metricsLogName" value="metrics" />