Suite CRM 8.5.1 Massive Log Spam of the below 4 lines

If the original errors are in the SuiteCRM log, that’s where the stack traces will appear, right after the lines you saw before.

If the original errors are in the php_errors.log, then the above setting won’t make a difference, and to get a stack trace you would need other complicated arrangements unless some kind soul would merge this (but I wouldn’t count on it, it’s been waiting since 2020…).