CodeIgniter Forums
Why turn off error_reporting in production? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Why turn off error_reporting in production? (/showthread.php?tid=43952)



Why turn off error_reporting in production? - El Forum - 07-28-2011

[eluser]Unknown[/eluser]
I've never once turned error_reporting below E_ALL, so that makes me question the reasoning of turning off error_reporting in production by default. In my mind, one should leave error_reporting set to the same level they use in development, but turn off display_errors and display_startup_errors and turn log_errors on.