From 282baf697ef9cd23b6f9f674e4e79b315427a699 Mon Sep 17 00:00:00 2001 From: To-om Date: Wed, 19 Dec 2018 17:17:39 +0100 Subject: [PATCH] #62 Rotate logs --- package/logback.xml | 76 +++++++++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 34 deletions(-) diff --git a/package/logback.xml b/package/logback.xml index 2f1ff1748..2cd26af14 100644 --- a/package/logback.xml +++ b/package/logback.xml @@ -1,39 +1,47 @@ - - - - /var/log/cortex/application.log - - %date [%level] from %logger in %thread - %message%n%xException - - - - - - %coloredLevel %logger{15} - %message%n%xException{10} - - - - - - - - - - - - - - - - - - - - - + + + + /var/log/cortex/application.log + + /var/log/cortex/application.%i.log.zip + 1 + 10 + + + 10MB + + + %date [%level] from %logger in %thread - %message%n%xException + + + + + + %coloredLevel %logger{15} - %message%n%xException{10} + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file