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…).