From b5dc19ccdb1e88428dc5a7154a2b9d8a1a4a02c0 Mon Sep 17 00:00:00 2001 From: Alexis Hernandez Date: Sun, 22 Apr 2018 22:14:23 -0500 Subject: [PATCH] server: Update the logback config to rotate the log file daily --- server/conf/logback.xml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/server/conf/logback.xml b/server/conf/logback.xml index ffe7040..6aac6ec 100644 --- a/server/conf/logback.xml +++ b/server/conf/logback.xml @@ -3,8 +3,18 @@ - + ${application.home:-.}/logs/application.log + + + + ${application.home:-.}/logs/application.%d{yyyy-MM-dd}.log + + + 30 + 3GB + + %date [%level] from %logger in %thread - %message%n%xException