diff options
author | jhh <jorge.hernandez-herrero@att.com> | 2021-04-08 20:56:17 -0500 |
---|---|---|
committer | Krzysztof Opasiak <k.opasiak@samsung.com> | 2021-04-16 20:04:35 +0000 |
commit | 6574e747618a67efdcc06dca930d3b36e8f94948 (patch) | |
tree | 93a06e15936901ab577e2b5e304658f13d2823f3 /kubernetes/policy/components/policy-pap/resources/config/logback.xml | |
parent | a9c31f35b05d6a3f6ba1df48dd8ac619d8d44d83 (diff) |
[POLICY] Add date to logging timestamp
Policy components log the current time to stdout
but not the actual date. This patch adds the
date in UTC format.
Issue-ID: POLICY-3177
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Change-Id: If86cad58115d9124e09a953c0aa807644830ad4b
Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
(cherry picked from commit 417bcbae7b6cdb92da9ab8cb02f7bc31c9f5192d)
(cherry picked from commit 37fba0c3fe0fd169ea05363d532835fa9f7d2959)
Diffstat (limited to 'kubernetes/policy/components/policy-pap/resources/config/logback.xml')
-rwxr-xr-x | kubernetes/policy/components/policy-pap/resources/config/logback.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kubernetes/policy/components/policy-pap/resources/config/logback.xml b/kubernetes/policy/components/policy-pap/resources/config/logback.xml index 6038e20b84..6ed32cc7df 100755 --- a/kubernetes/policy/components/policy-pap/resources/config/logback.xml +++ b/kubernetes/policy/components/policy-pap/resources/config/logback.xml @@ -1,6 +1,7 @@ <!-- ============LICENSE_START======================================================= Copyright (C) 2020 Bell Canada. All rights reserved. + Modifications Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. ================================================================================ Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -76,7 +77,7 @@ <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> <encoder> - <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern> + <Pattern>[%d{yyyy-MM-dd'T'HH:mm:ss.SSS+00:00, UTC}|%level|%logger{0}|%thread] %msg%n</Pattern> </encoder> </appender> |