From 50d79245bc8fb7ca64820a79bb10ea4db0c7b93f Mon Sep 17 00:00:00 2001 From: Ankita Ranjan Date: Fri, 29 Jul 2022 19:11:51 +0530 Subject: [PATCH] editing date time format for logs --- src/main/resources/application.yml | 4 ++++ src/main/resources/logback.xml | 15 +++------------ 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 65ec2482..d6b9a996 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -74,3 +74,7 @@ bpmn: logging: level: ROOT: ERROR + pattern: + console: "%clr(%d{dd-MM-yyyy HH:mm:ss.SSS}){faint} %clr(${LOG_LEVEL_PATTERN:-%5p}) %clr([%35.35t]){faint} %clr(%-28.28logger{28}){cyan} %clr(:){faint}%X{BUSINESS-LOG} %m%n${LOG_EXCEPTION_CONVERSION_WORD:-%wEx}" + + diff --git a/src/main/resources/logback.xml b/src/main/resources/logback.xml index 3d699286..76a45768 100644 --- a/src/main/resources/logback.xml +++ b/src/main/resources/logback.xml @@ -2,8 +2,8 @@ - + + @@ -12,16 +12,7 @@ - - - - - - - - - - + \ No newline at end of file