From 0dd08bbbb41a1ff6511f477c82878ad4c0103771 Mon Sep 17 00:00:00 2001 From: Vasily Date: Fri, 29 Nov 2019 18:55:50 +0300 Subject: [PATCH] Merge pull request #2071 from excelite/add_default_values_to_logconfig add filesize limit for logfiles and a maximum logfile count (cherry picked from commit 8f56baf6d9647b67598b9eabd41ca9583affe404) Signed-off-by: Joshua Boniface --- Jellyfin.Server/Resources/Configuration/logging.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Jellyfin.Server/Resources/Configuration/logging.json b/Jellyfin.Server/Resources/Configuration/logging.json index d169912774..e85ef05afd 100644 --- a/Jellyfin.Server/Resources/Configuration/logging.json +++ b/Jellyfin.Server/Resources/Configuration/logging.json @@ -17,6 +17,9 @@ "Args": { "path": "%JELLYFIN_LOG_DIR%//log_.log", "rollingInterval": "Day", + "retainedFileCountLimit": 3, + "rollOnFileSizeLimit": true, + "fileSizeLimitBytes": 100000000, "outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}" } }