Welcome Guest, Not a member yet? Register   Sign In
Change log_treshold at runtime
#2

[eluser]PhilTem[/eluser]
You can change the log_threshold at runtime using
Code:
$this->config->set_item('item_name', 'item_value');

However, it is kinda weird seeing you change the config-item at runtime. For your case I'd recommend creating your own logging library which logs things to a database and can be read out from there as well. Since you would not want to mix system logging with application logging - at least I would not want to Wink


Messages In This Thread
Change log_treshold at runtime - by El Forum - 11-29-2012, 05:30 AM
Change log_treshold at runtime - by El Forum - 11-29-2012, 06:09 AM
Change log_treshold at runtime - by El Forum - 11-29-2012, 06:27 AM
Change log_treshold at runtime - by El Forum - 11-29-2012, 07:43 AM
Change log_treshold at runtime - by El Forum - 11-29-2012, 03:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB