summaryrefslogtreecommitdiffstats
path: root/onap
diff options
context:
space:
mode:
authorpranavdi <Pranav.Dixit@amdocs.com>2017-09-25 18:35:24 +0530
committerpranavdi <Pranav.Dixit@amdocs.com>2017-09-25 18:37:15 +0530
commit73e8f0816a2aa923ce5e0f72109f5b8bf3662e2d (patch)
tree4e096a686ff83a9864e72deca9196ac5200b5406 /onap
parent2a4660f61306db924d8930e5c4fb6897c19027dc (diff)
Update the log pattern for SDC
Remove the length restriction on logger field in the log Change-Id: I9d596b21f2c9e907d88287e0f9a8aff90bb963a9 Issue-Id: LOG-64 Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
Diffstat (limited to 'onap')
-rw-r--r--onap/sdc/be/logback.xml2
-rw-r--r--onap/sdc/fe/logback.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/onap/sdc/be/logback.xml b/onap/sdc/be/logback.xml
index a014e57..caa6d44 100644
--- a/onap/sdc/be/logback.xml
+++ b/onap/sdc/be/logback.xml
@@ -17,7 +17,7 @@
<property name="maxFileSize" value="50MB" />
<property name="maxHistory" value="30" />
<property name="totalSizeCap" value="10GB" />
- <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&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{&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" />
<!-- All log -->
<if condition='property("enable-all-log").equalsIgnoreCase("true")'>
<then>
diff --git a/onap/sdc/fe/logback.xml b/onap/sdc/fe/logback.xml
index 8c25b69..f2978f7 100644
--- a/onap/sdc/fe/logback.xml
+++ b/onap/sdc/fe/logback.xml
@@ -17,7 +17,7 @@
<property name="maxFileSize" value="50MB" />
<property name="maxHistory" value="30" />
<property name="totalSizeCap" value="10GB" />
- <property name="pattern" value="%d{&quot;yyyy-MM-dd'T'HH:mm:ss.SSSXXX&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{&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" />
<!-- All log -->
<if condition='property("enable-all-log").equalsIgnoreCase("true")'>
<then>