Update the log pattern for SDC 73/15073/1
authorpranavdi <Pranav.Dixit@amdocs.com>
Mon, 25 Sep 2017 13:05:24 +0000 (18:35 +0530)
committerpranavdi <Pranav.Dixit@amdocs.com>
Mon, 25 Sep 2017 13:07:15 +0000 (18:37 +0530)
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>
onap/sdc/be/logback.xml
onap/sdc/fe/logback.xml

index a014e57..caa6d44 100644 (file)
@@ -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>
index 8c25b69..f2978f7 100644 (file)
@@ -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>