From 4cfbab9ff6d56fe3516cbc00a607cde891de342b Mon Sep 17 00:00:00 2001 From: szalai1 Date: Thu, 17 Nov 2022 10:41:42 +0100 Subject: [PATCH] fix(loggin): print logging timestamp in ISO8601 format instead of just time --- datahub-frontend/conf/logback.xml | 6 +++--- datahub-frontend/run/logback.xml | 6 +++--- .../mae-consumer-job/src/main/resources/logback.xml | 4 ++-- .../mce-consumer-job/src/main/resources/logback.xml | 4 ++-- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/datahub-frontend/conf/logback.xml b/datahub-frontend/conf/logback.xml index 4ebe78a8a4ecd..be2de332b8dc3 100644 --- a/datahub-frontend/conf/logback.xml +++ b/datahub-frontend/conf/logback.xml @@ -5,7 +5,7 @@ - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n INFO @@ -27,7 +27,7 @@ INFO - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n @@ -48,7 +48,7 @@ DENY - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n diff --git a/datahub-frontend/run/logback.xml b/datahub-frontend/run/logback.xml index e82501086ea4e..f18fa52d08d41 100644 --- a/datahub-frontend/run/logback.xml +++ b/datahub-frontend/run/logback.xml @@ -5,7 +5,7 @@ - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n INFO @@ -27,7 +27,7 @@ INFO - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n @@ -48,7 +48,7 @@ DENY - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n diff --git a/metadata-jobs/mae-consumer-job/src/main/resources/logback.xml b/metadata-jobs/mae-consumer-job/src/main/resources/logback.xml index 242c9ce28c86d..39202fbbae934 100644 --- a/metadata-jobs/mae-consumer-job/src/main/resources/logback.xml +++ b/metadata-jobs/mae-consumer-job/src/main/resources/logback.xml @@ -3,7 +3,7 @@ - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n @@ -11,7 +11,7 @@ ${LOG_DIR}/mae-consumer-job.log true - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n ${LOG_DIR}/mae-consumer-job.%i.log diff --git a/metadata-jobs/mce-consumer-job/src/main/resources/logback.xml b/metadata-jobs/mce-consumer-job/src/main/resources/logback.xml index 4a9eb8289911c..69a24072412ef 100644 --- a/metadata-jobs/mce-consumer-job/src/main/resources/logback.xml +++ b/metadata-jobs/mce-consumer-job/src/main/resources/logback.xml @@ -3,7 +3,7 @@ - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n @@ -11,7 +11,7 @@ ${LOG_DIR}/mce-consumer-job.log true - %d{HH:mm:ss} [%thread] %-5level %logger{36} - %msg%n + %date{ISO8601} [%thread] %-5level %logger{36} - %msg%n ${LOG_DIR}/mce-consumer-job.%i.log