By Trevor Eaton Cordes
License: Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)

Now php will only log the "real" errors/warnings, just like it did before.

But now you have to keep a separate window open on your dev box tail -f'd to the
error log.  Much easier/cheaper than paying a dev $5k to "fix" all the non-errors.


Sep 12 20:54:03 zzz php: PHP Fatal error:  Uncaught Error: mysqli_stmt object is not fully initialized in /opt/Eword/Zzz/Zzz/Inc/zzzdbi.inc:534
Sep 12 20:54:03 zzz php: Stack trace:
[...]
Sep 12 20:54:03 zzz php: #9 {main}
Sep 12 20:54:03 zzz php:   thrown in /opt/Eword/Sz/Tec/Inc/tecdbi.inc on line 534


If more non-errors show up, like more "Trying to access array offset on value of
type ...", just add another line to rsyslog.conf.
