[eluser]Unknown[/eluser]
Hello,
I want to change the log level to a value read from the database. I try
Code:
$this->config->set_item('log_treshold', $value);
but it doesnt work.
Code:
echo $this->config->item('log_treshold')
reports the new value but CI ignores it.
Do I something wrong? Can someone help me?
Best regards,
Thomas
Edit:
After some more tests it seems that only log level 0 is working. If the log_treshold is set to 0 there is no more logging. It is set to any other number CI logs all levels.