From dda6cb34e1cda69892986cd3fcb24ab26577f6ec Mon Sep 17 00:00:00 2001 From: cpfeiffer Date: Mon, 7 Mar 2016 01:09:20 +0100 Subject: [PATCH] Fix logfile rotation (bug in logback-android) --- app/src/main/assets/logback.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/app/src/main/assets/logback.xml b/app/src/main/assets/logback.xml index f08c0b4c..8d3f96fe 100644 --- a/app/src/main/assets/logback.xml +++ b/app/src/main/assets/logback.xml @@ -15,12 +15,14 @@ - ${GB_LOGFILES_DIR}/gadgetbridge-%d{yyyy-MM-dd}.log.zip + ${GB_LOGFILES_DIR}/gadgetbridge-%d{yyyy-MM-dd}.%i.log.zip 10 + + + 2MB + - - 5MB - %d{HH:mm:ss.SSS} [%thread] %-5level %logger{1} - %msg%n