summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvdhut Kholkar <avdhut.kholkar@amdocs.com>2017-09-25 13:12:32 +0000
committerGerrit Code Review <gerrit@onap.org>2017-09-25 13:12:32 +0000
commit73fe3a0a06441f8b5b827729da2aff2e73ab2e16 (patch)
tree17c6010dd69775347286eb44eea93ac9a4956e67
parentbf7d8e31a32c347cf046935508e0b04cdf1e76f2 (diff)
parent73e8f0816a2aa923ce5e0f72109f5b8bf3662e2d (diff)
Merge "Update the log pattern for SDC"
-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>