Welcome Guest, Not a member yet? Register   Sign In
Logging with log_message only logs ERROR level
#1

[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-gui...rrors.html I should be seeing the debug messages.

Any ideas?

thanks
#2

[eluser]jalalski[/eluser]
Look in application/config/config.php for the log threshold setting.
#3

[eluser]Unknown[/eluser]
Thanks a lot, that was it.




Theme © iAndrew 2016 - Forum software by © MyBB