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

[eluser]Zeff[/eluser]
Hi PhilTem,

Thanks for your response, I already tried:
<code>
$this->config->set_item('log_threshold', 3);
log_message('info', 'MyApp: '.$this->session->userdata('uid').' logged in');
</code>
But this doesn't work, I only see error log messages in my logfile, no 'INFO'...

I will take in account your remark about db-driven logging, thanks. I just wanted to quick solution by using the existing log possibilities...

Best regards,

Zeff


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