In which directory logs are saved in Codeigniter? How to enable error logging in Codeigniter?

Sharad Jaiswal
Sharad Jaiswal

Posted On: Feb 22, 2018

 

By default, all logs in Codeigniter are stored in logs/ directory. To enable error logging you must set the “threshold” for logging in application/config/config.php. Also, your logs/ must be writable.

$config['log_threshold'] = 1;

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    CodeIgniter Interview Questions

    How to check the version of CodeIgniter framework?

    How to check the version of CodeIgniter framework?..