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

Allow configuration of expire-logs-days #20

Closed
geerlingguy opened this issue Mar 1, 2015 · 1 comment
Closed

Allow configuration of expire-logs-days #20

geerlingguy opened this issue Mar 1, 2015 · 1 comment

Comments

@geerlingguy
Copy link
Owner

I just noticed that, on one of my super-heavy-write DB servers, the disk was almost out of space, and a little digging found that there were hundreds of 101MB mysql-bin.000XXX log files in /var/lib/mysql. While it's important to keep logs for replication, you don't need all the logs to the beginning of time!

I'd like to add configuration for the expire-logs-days setting, with a sane default.

@geerlingguy
Copy link
Owner Author

Looks like I already had the config variable hardcoded at 10 days. I'm switching it to a user-supplied variable with a default of 10.

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