From 04178014fec9b5a73c3542a50737a1c2e8f77826 Mon Sep 17 00:00:00 2001 From: David Darras <117278497+davdarras@users.noreply.github.com> Date: Fri, 25 Oct 2024 14:56:14 +0200 Subject: [PATCH] fix: resolve log rotation (#197) --- pom.xml | 2 +- src/main/resources/logback-spring.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index b0655726..54b58bd9 100644 --- a/pom.xml +++ b/pom.xml @@ -7,7 +7,7 @@ fr.insee.pearljam pearljam-back-office - 5.1.8 + 5.1.9 Pearl-Jam-Back-Office Back-office services for PearlJam diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index f6c07c3b..da8c9b50 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -1,5 +1,5 @@ - + @@ -12,7 +12,7 @@ ${LOG_FILE} - %d{yyyy-MM-dd}.${LOG_FILE}.gz + ${LOG_FILE}.%d{yyyy-MM-dd}.log.gz ${LOGBACK_ROLLINGPOLICY_MAX_HISTORY}