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

Dump old logs to somewhere cheap #329

Open
reefdog opened this issue Feb 24, 2020 · 1 comment
Open

Dump old logs to somewhere cheap #329

reefdog opened this issue Feb 24, 2020 · 1 comment
Labels
hosting Concerns hosting environment / deployed services

Comments

@reefdog
Copy link
Collaborator

reefdog commented Feb 24, 2020

We just added logrotate, which kills logs older than 5 days. That should help prevent logs from filling up our storage, but it means we lose historical logs.

We should explore moving old logs to something like S3 so we can still access them for historical forensics.

@reefdog reefdog added the hosting Concerns hosting environment / deployed services label Feb 24, 2020
@slifty
Copy link
Contributor

slifty commented Feb 24, 2020

This StackOverflow question seems to have a potential clue for doing this: https://stackoverflow.com/questions/54457314/logrotate-move-only-the-new-compressed-files-to-s3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hosting Concerns hosting environment / deployed services
Projects
None yet
Development

No branches or pull requests

2 participants