Update the log pattern for Vid 25/15325/1
authorpranavdi <Pranav.Dixit@amdocs.com>
Tue, 26 Sep 2017 04:57:49 +0000 (10:27 +0530)
committerpranavdi <Pranav.Dixit@amdocs.com>
Tue, 26 Sep 2017 04:57:49 +0000 (10:27 +0530)
Remove the length restriction on logger field in the log

Change-Id: Ib574903ea33edc8b099450c22c1d815abe4c2f1d
Issue-Id: LOG-64
Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
onap/vid/conf/logback.xml

index 5656303..34bb582 100644 (file)
@@ -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{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" />