From 93b8cb1f159e7e9e81079e32967bbe969d16d880 Mon Sep 17 00:00:00 2001 From: David Kramer Date: Wed, 6 Sep 2023 21:32:38 +0000 Subject: [PATCH] Fix tinylog file size policy --- reposilite-backend/src/main/resources/tinylog.properties | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/reposilite-backend/src/main/resources/tinylog.properties b/reposilite-backend/src/main/resources/tinylog.properties index bdd100842..aac85a97f 100644 --- a/reposilite-backend/src/main/resources/tinylog.properties +++ b/reposilite-backend/src/main/resources/tinylog.properties @@ -26,9 +26,8 @@ writerFile.level = debug writerFile.format = {class} {date: yyyy-MM-dd HH:mm:ss.SSS} {level} | {message} writerFile.file = ./logs/log_{date}.txt writerFile.latest = latest.log -writerFile.size = 100 MB writerFile.backups = 10 -writerFile.policies = startup, monthly: 03:00 +writerFile.policies = size: 100mb, startup, monthly: 03:00 writerFile.convert = gzip @@ -39,4 +38,4 @@ level@com.zaxxer.hikari.HikariDataSource = warn level@com.zaxxer.hikari.pool.HikariPool = info level@com.zaxxer.hikari.pool.PoolBase = info level@io.swagger.v3.parser = info -level@org.apache.http.impl.conn.Wire = warn \ No newline at end of file +level@org.apache.http.impl.conn.Wire = warn