diff options
author | pranavdi <Pranav.Dixit@amdocs.com> | 2017-09-26 10:25:21 +0530 |
---|---|---|
committer | pranavdi <Pranav.Dixit@amdocs.com> | 2017-09-26 10:25:21 +0530 |
commit | d919e5dd9c3d4de79ff9db76f42ac4f9cc5c9a21 (patch) | |
tree | 57b56b4c7ded0c913adbe3302f4b655f7290725f /onap/portal | |
parent | d5b86af39c170422fd57a20fa89b5c6671e011bb (diff) |
Update the log pattern for Portal
Remove the length restriction on logger field in the log
Change-Id: Ica6ba5bee34a07501acb1cb01128c9848f82c367
Issue-Id: LOG-64
Signed-off-by: pranavdi <Pranav.Dixit@amdocs.com>
Diffstat (limited to 'onap/portal')
-rw-r--r-- | onap/portal/portal-be/conf/logback.xml | 2 | ||||
-rw-r--r-- | onap/portal/portal-db/conf/logback.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/onap/portal/portal-be/conf/logback.xml b/onap/portal/portal-be/conf/logback.xml index 1b16f71..b73e72e 100644 --- a/onap/portal/portal-be/conf/logback.xml +++ b/onap/portal/portal-be/conf/logback.xml @@ -43,7 +43,7 @@ name="performanceLogName" value="performance" /> <property name="serverLogName" value="server" /> --> <!-- ServerFQDN=Server, --> - <property name="pattern" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 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{"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" /> <property name="maxHistory" value="30" /> <property name="queueSize" value="256" /> <property name="maxFileSize" value="50MB" /> diff --git a/onap/portal/portal-db/conf/logback.xml b/onap/portal/portal-db/conf/logback.xml index 3ec46f7..2fad268 100644 --- a/onap/portal/portal-db/conf/logback.xml +++ b/onap/portal/portal-db/conf/logback.xml @@ -28,7 +28,7 @@ <property name="performanceLogName" value="performance" /> <property name="serverLogName" value="server" /> --> - <property name="pattern" value="%d{"yyyy-MM-dd'T'HH:mm:ss.SSSXXX", 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{"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" /> <property name="maxHistory" value="30" /> <property name="queueSize" value="256" /> <property name="maxFileSize" value="50MB" /> |