diff options
| author | Vasily <JustAMan@users.noreply.github.com> | 2019-11-29 18:55:50 +0300 |
|---|---|---|
| committer | Joshua Boniface <joshua@boniface.me> | 2019-12-06 15:15:54 -0500 |
| commit | 0dd08bbbb41a1ff6511f477c82878ad4c0103771 (patch) | |
| tree | 5f18294852a5889b2c379f4ea609dc4f1c5401d6 | |
| parent | ac8572fd2dbb1ff02a09d3ec4882d6e81d9f1e74 (diff) | |
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 <joshua@boniface.me>
| -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}" } } |
