Binary Log Expiration

SHOW VARIABLES LIKE 'binlog_expire_logs_seconds';
SHOW VARIABLES LIKE 'expire_logs_days';

expire_logs_days = 0 means binary logs are never automatically deleted based on age.

Check replication format

SHOW VARIABLES LIKE 'binlog_format';
ValueMeaning
STATEMENTUses SQL statements in the binary log.
ROWLogs each changed row explicitly.
MIXEDMySQL chooses STATEMENT or ROW automatically based on the context.