To enable error logging in CodeIgniter, open the application/config/config.php file and set the log_threshold value to 4.
log_threshold = 4
To disable error logging in CodeIgniter, open the application/config/config.php file and set the log_threshold value to 0.
log_threshold = 0
How to Enable and Disable Error log in CodeIgniter