From 80696ef1388afdca091dfe9781151f55f0f53124 Mon Sep 17 00:00:00 2001 From: Amit Kumar Nandi <11887616+aamitn@users.noreply.github.com> Date: Sat, 17 Feb 2024 20:06:25 +0530 Subject: [PATCH] github actions support --- src/main/resources/logback-spring.xml | 42 +++++++++++++++++++-------- 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 546fed3..44d73d2 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -1,22 +1,40 @@ - - - logs/shortener.log - - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n - - - + + + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n - - - + + + ${LOG_PATH}/shortener.log + + %d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n + + + ${LOG_ARCHIVE}/shortener.log.%d{yyyy-MM-dd}.log + 30 + 10MB + 1GB + true + + + + + + + + + + + + - \ No newline at end of file + +