aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasily <JustAMan@users.noreply.github.com>2019-11-29 18:55:50 +0300
committerGitHub <noreply@github.com>2019-11-29 18:55:50 +0300
commit8f56baf6d9647b67598b9eabd41ca9583affe404 (patch)
tree3e40916faf09cebfcb748b9f5978dffccace84f8
parent32519a54712ea0670ad43c0b51aa8f34e23ad210 (diff)
parent60691349a11f541958e0b2247c9abc13cb40c9fb (diff)
Merge pull request #2071 from excelite/add_default_values_to_logconfig
add 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}"
}
}