Expire_logs_days => binlog_expire_logs_seconds

Description

In pt-variable-advisor:

WARN expire_logs_days: Binary logs are enabled, but automatic purging is not enabled. If you do not purge binary logs, your disk will fill up.

expire_logs_days is deprecated, and this is what we should use now:

binlog_expire_logs_seconds = 604800

However, the warning still appears, because I'm not setting expire_logs_days.

I believe this should be updated.

Thanks!!

Environment

None

Activity

Show:

Details

Assignee

Reporter

Priority

Needs QA

Yes

Smart Checklist

Created February 17, 2025 at 2:56 PM
Updated February 17, 2025 at 2:56 PM