From https://dev.mysql.com/doc/refman/8.4/en/mysql-nutshell.html:
expire_logs_days system variable. The expire_logs_days server system variable, deprecated in MySQL 8.0, has been removed. Attempting to get or set this variable at runtime, or to start mysqld with the equivalent option (--expire-logs-days), now results in an error.
In place of expire_logs_days, use binlog_expire_logs_seconds, which allows you to specify expiration periods other than (only) in an integral number of days.
With that config option MySQL fails to start.
My thinking is it's needs a separate config for 8.4. I can try implementing if that's the right direction.
innodb_log_file_size is also deprecated, but doesn't result in MySQL failing to start.