mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-02 22:46:56 -05:00
[Enhancement]: Previous daily logs should be gzip-ed or compressed to save space #2401
Labels
No labels
authentication
awaiting release
backlog
bug
chapter editor
config-issue
ebooks
encoding/embedding
enhancement
help wanted
listening sessions & progress
planned
possible plugin
progress sync
sorting/filtering/searching
unable to reproduce
upload
users & permissions
waiting
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/audiobookshelf#2401
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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 @ZLoth on GitHub (Sep 2, 2024).
Type of Enhancement
Server Backend
Describe the Feature/Enhancement
In the directory /metadata/logs/daily, previous daily logs should be compressed to save space on server.
Why would this be helpful?
Space savings
Future Implementation (Screenshot)
Screenshot shows existing files as well as an example compressed text file.
Audiobookshelf Server Version
v2.12.3
Current Implementation (Screenshot)
See above screenshot.
@nichwall commented on GitHub (Nov 11, 2024):
How big is your log directory and what is the breakdown?
Are daily log files deleted after 7 days and most of the space is from scan logs?
https://github.com/advplyr/audiobookshelf/discussions/3602
@ZLoth commented on GitHub (Nov 11, 2024):
@nichwall : Does this help? It's less of a concern for me with terabytes of disk space, but may be a concern on smaller setups.
@nichwall commented on GitHub (Nov 13, 2024):
Thanks, yes that is useful. Looks like the daily logs are being removed automatically (as expected). In the discussion, it was mentioned we could delete old scan logs.
Since those are smaller than daily logs, maybe we can keep the last 21 days of scan logs? I think that's enough time to catch issues but don't take up too much space (about 2kB each during what appears to be daily scans for your server).