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

Ensure logs are stored for 30 days #927

Open
dacook opened this issue May 9, 2024 · 0 comments
Open

Ensure logs are stored for 30 days #927

dacook opened this issue May 9, 2024 · 0 comments

Comments

@dacook
Copy link
Member

dacook commented May 9, 2024

Description

We store a copy of production.log files from the last 4 releases, which should normally ensure that we have 30 days worth of records.
But it seems that logs can be truncated during the week if they get too large, so we have gaps in logs. Sometimes after only a couple of days (while we still have logs from a point in time 4 weeks ago).

Possible Fix

Maybe we can increase the truncate limit to reduce the likelihood of gaps.
Or better, move logging to the shared folder (like we already do for puma logs) so that we don't have gaps. We can set a reasonably high limit to allow for hopefully 30 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: All the things 💤
Development

No branches or pull requests

1 participant