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

Set worker log retention to 30 days #4817

Open
eloquence opened this issue Sep 13, 2019 · 0 comments
Open

Set worker log retention to 30 days #4817

eloquence opened this issue Sep 13, 2019 · 0 comments
Labels
Hacktoberfest Issues suitable for the annual Hacktoberfest organized by Digital Ocean help wanted Issues we would definitely appreciate volunteer help with ops/deployment

Comments

@eloquence
Copy link
Member

eloquence commented Sep 13, 2019

Description

The logs in /var/log/securedrop_worker are currently set to rotate at a size of 50 MB. While these logs only include functions and filenames, to minimize accumulation of metadata (and to future-proof logging behavior), we should enforce a retention period, at most 30 days, consistent with the discussion in #304 and #3714. This will require adding a logrotate configuration and disabling the more limited rotation provided by supervisord.

Weekly rotation may be appropriate given the typically low event volume.

@eloquence eloquence added Hacktoberfest Issues suitable for the annual Hacktoberfest organized by Digital Ocean help wanted Issues we would definitely appreciate volunteer help with labels Sep 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Issues suitable for the annual Hacktoberfest organized by Digital Ocean help wanted Issues we would definitely appreciate volunteer help with ops/deployment
Projects
None yet
Development

No branches or pull requests

1 participant