mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
"Log file cleanup" task does not work #1080
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @therealmelee on GitHub (Nov 25, 2019).
Describe the bug
Across multiple installations through the official Docker, the "Log file cleanup" task has never actually deleted old logs (described by the task as being "Deletes log files that are more than 3 days old."
To Reproduce
OR
Expected behavior
Logs should be deleted as intended.
System (please complete the following information):
Additional context
Logs folder is default:
Logs:
/config/log
Logs are being written, so the Docker must write access to that folder.
@excelite commented on GitHub (Nov 28, 2019):
@therealmelee, the old emby log cleanup task explicitly excludes the .log logfiles and states that those are to be managed by semilog.
you can fix this by adding the following line to your /config/logging.json
"retainedFileCountLimit": 3,below the "rollingInterval" entry:
after this change, you might need to restart your jellyfin app