custom logging threshold in not working |
[eluser]Unknown[/eluser]
I want to be able to log only Info and Error (and not debug) I found this one that looked promising: https://github.com/EllisLab/CodeIgniter/...-Threshold However when I put $config['log_threshold'] = array(1, 3); nothing is logged. I know it is not a general logging problem (permissions etc) because when I put $config['log_threshold'] = 3; everything works perfectly Anyone encountered this issue?
[eluser]www.sblog.in[/eluser]
might be the problem with below condition Code: if ( ! isset($this->_levels[$level])
[eluser]Unknown[/eluser]
Well, you seem to be right about the condition, tried to replace the second and third conditions so the array condition will be earlier, but it still doesn't solve my problem. By the way - with this configuration I DO get ERROR to log but not INFO I even tried to restart the server for the changes to get in affect, and no good Any other thoughts? |
Welcome Guest, Not a member yet? Register Sign In |