aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorexcelite <excelite@icloud.com>2019-11-28 11:20:46 +0100
committerexcelite <excelite@icloud.com>2019-11-28 11:20:46 +0100
commit60691349a11f541958e0b2247c9abc13cb40c9fb (patch)
tree1fffc354e253c19b3ee1d0f3d4437a8a7877494a
parentf3ca4631c39e89afa0cc4af3631016c00e47037c (diff)
added filesize limit for logfiles and a maximum logfile count
-rw-r--r--Jellyfin.Server/Resources/Configuration/logging.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jellyfin.Server/Resources/Configuration/logging.json b/Jellyfin.Server/Resources/Configuration/logging.json
index d16991277..e85ef05af 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}"
}
}