Increase number of log files - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +--- Thread: Increase number of log files (/t-increase-number-of-log-files) Pages:
1
2
|
RE: Increase number of log files - skribe - 2023-09-16 (2023-08-26, 10:52 AM)Six66Mike Wrote: I have no idea how to do that lol. Hey Six66Mike, Venson actually already provided the correct answer here. It is the Clean Log Directory task that is cycling out older log files, and it is a user adjustable setting. You will find it in your scheduled tasks. By default, it runs every 24 hours. If you adjust this, you can preserve logs for longer. You are also welcome to simply turn it off, if you don't want log rotation. Just remember that they will eventually fill your drive. If something else is still removing the logs, it's not jellyfin. RE: Increase number of log files - Six66Mike - 2023-09-17 I disabled that job and it hasn't run for 24 days now, and there's still only just the 3 files in /volume1/@appstore/jellyfin/var/log log_20230915.log log_20230916.log log_20230917.log Clean Activity Log and Clean Log Directory were turned off 24 days ago and haven't run since, the other Maintenance tasks still run once every 24 hours (Clean Cache Directory, Clean Transcode Directory, Optimize database). I installed Log Centre on the NAS and tried to find a way to import the log from Jellyfin, no dice. Also tried to find a way to re-direct the logs to another path, also no dice. Or even something to copy them to an alt path elsewhere on the NAS.. swing and a miss. RE: Increase number of log files - skribe - 2023-09-17 That sounds like a bona fide bug then. Lets go ahead and heave you submit an issue on the server github. That probably needs some investigation from the development team. Frankly, I think the hard-coded 3 day time period on the user-adjustable log cleaning task also makes no sense. As it will still only leave you with 3 days of logs no matter when it runs. I think this functionality just needs a look. You can submit an issue for it here: https://github.com/jellyfin/jellyfin/issues |