![]() |
Logging with log_message only logs ERROR level - 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: Logging with log_message only logs ERROR level (/showthread.php?tid=14500) |
Logging with log_message only logs ERROR level - El Forum - 01-05-2009 [eluser]Unknown[/eluser] Hello, I'm trying to log with log_message('debug', 'my message') but nothing gets written to the log file unless I specify the 'error' level. My main index.php has error_reporting(E_ALL), so according to http://ellislab.com/codeigniter/user-guide/general/errors.html I should be seeing the debug messages. Any ideas? thanks Logging with log_message only logs ERROR level - El Forum - 01-05-2009 [eluser]jalalski[/eluser] Look in application/config/config.php for the log threshold setting. Logging with log_message only logs ERROR level - El Forum - 01-06-2009 [eluser]Unknown[/eluser] Thanks a lot, that was it. |