Merge pull request #2071 from excelite/add_default_values_to_logconfig
add filesize limit for logfiles and a maximum logfile count
This commit is contained in:
commit
8f56baf6d9
|
@ -17,6 +17,9 @@
|
||||||
"Args": {
|
"Args": {
|
||||||
"path": "%JELLYFIN_LOG_DIR%//log_.log",
|
"path": "%JELLYFIN_LOG_DIR%//log_.log",
|
||||||
"rollingInterval": "Day",
|
"rollingInterval": "Day",
|
||||||
|
"retainedFileCountLimit": 3,
|
||||||
|
"rollOnFileSizeLimit": true,
|
||||||
|
"fileSizeLimitBytes": 100000000,
|
||||||
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
|
"outputTemplate": "[{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz}] [{Level:u3}] {Message}{NewLine}{Exception}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user