UPFATE: Don't log errors that don't match error_reporting.