Report all errors
Report all PHP errors by [error_reporting(E_ALL)](https://www.php.net/manual/en/function.error-reporting.php). If [Debug](generatesetup.html?id=debug) is enabled, the setting will be enabled by default.
Log to file (production)
Write logs to file. If [Debug](generatesetup.html?id=debug) is enabled or enviroment is "dev", the setting will be enabled by default. The log files for above can be found at the subfolder `var/log` under the project folder and are named as *env-yyyy-mm-dd.log* where "env" is the enviroment (i.e. "dev" or "prod"). In production enviroment, error messages must not be shown to the end users, but you still can log error messages in log files for debugging purposes.