Hi, I noticed that the size of the var directory increased a lot after migrating to mysql8.0.
The reason is that is that till MySQL 5.7 the default value for expire_logs_days is 10 days . But from MySQL 8.0.11 the default value for binlog_expire_logs_seconds is 30 days . What is the reason behind this change?
Generally speaking, if you don’t like a configuration from a package that has been deployed, research the configuration on the vendors website, and make adjustments according to your needs. If in doubt consult a professional for assistance in doing so properly. Though, this is not really a Virtualmin question itself just as an FYI.
As Peter said, we’re using distro packages for literally everything, except our own software. Most configuration decisions are made upstream of us, including this one. It would either be a choice of the distro packagers or the upstream developer.