Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Truncate or zero out log files #51

Open
gbnewby opened this issue Dec 5, 2024 · 0 comments
Open

Truncate or zero out log files #51

gbnewby opened this issue Dec 5, 2024 · 0 comments

Comments

@gbnewby
Copy link
Contributor

gbnewby commented Dec 5, 2024

Logfiles in cache/epub and ~gutenbackend/ebookconverter and perhaps elsewhere have grown quite large.

It should be safe to zero out the logfiles in cache/epub, and perhaps we should set a size limit of 1MB or less so old records are cut with every rebuild cycle.

For the ebookconverter logs, those could be mv'd and then new logfiles started. Should we set up a logrotate process to manage this? I'm not sure how long we should retain those logs for - perhaps 1 year, but we could do a monthly rotation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant