Welcome Guest, Not a member yet? Register   Sign In
Preventing error from log file


Fresh CI 1.6.2 install
$config['log_threshold'] = 1;


$string = 0;        

if (FALSE === ($result = @unserialize($string)))
    echo "false";

I suppress error message from showing up by adding '@' to 'unserialize', but it still gets into log file. I use this function a lot and log file becomes unreadable. Is there any way to prevent CI from logging this?

Messages In This Thread
Preventing error from log file - by El Forum - 06-26-2008, 11:05 AM

Theme © iAndrew 2016 - Forum software by © MyBB