diff options
author | pranavdi <Pranav.Dixit@amdocs.com> | 2017-09-28 14:44:27 +0530 |
---|---|---|
committer | pranavdi <Pranav.Dixit@amdocs.com> | 2017-09-28 15:07:07 +0530 |
commit | 04c7cbf7d4336c192ba3ecfc898a961913775074 (patch) | |
tree | 8d0bf07509f08d0cec6a3760d4907e14c76471e6 /onap/vid | |
parent | ec3e4929b86b346c6c90369bc9bd186ce960611a (diff) |
Fix logback log pattern
Fix the pattern in some logback files which causes the Timestamp to be printed in invalid format
Change-Id: I8cab16393986fc356ff5f23b4124d8475aaef012
Issue-Id: LOG-65
Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
Diffstat (limited to 'onap/vid')
-rw-r--r-- | onap/vid/conf/logback.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/onap/vid/conf/logback.xml b/onap/vid/conf/logback.xml index 34bb582..3d78b8f 100644 --- a/onap/vid/conf/logback.xml +++ b/onap/vid/conf/logback.xml @@ -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{&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" /> + <property name="pattern" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 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" /> |