Answer
If you really need to log errors more than 1024 the you need to explicitly add
log_errors_max_len = 0
Beacuse the default is 1024 and 0 allows to not apply any maximum length at all. Please read the log for more info.
https://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors-max-len