mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue