diff options
| author | excelite <excelite@icloud.com> | 2019-11-28 11:20:46 +0100 |
|---|---|---|
| committer | excelite <excelite@icloud.com> | 2019-11-28 11:20:46 +0100 |
| commit | 60691349a11f541958e0b2247c9abc13cb40c9fb (patch) | |
| tree | 1fffc354e253c19b3ee1d0f3d4437a8a7877494a | |
| parent | f3ca4631c39e89afa0cc4af3631016c00e47037c (diff) | |
added filesize limit for logfiles and a maximum logfile count
| -rw-r--r-- | Jellyfin.Server/Resources/Configuration/logging.json | 3 |
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}" } } |
