[eluser]deadelvis[/eluser]
Thanks for the tip, but it doesn't work. Errors still get added to the log:
Code:
ERROR - 2008-06-22 18:45:22 --> Severity: Warning --> DOMDocument::loadHTMLFile() [<a href='function.DOMDocument-loadHTMLFile'>function.DOMDocument-loadHTMLFile</a>]: End tag : expected '>' in http://www.mydomain.com/mypage, line: 60 scrapers.php 116
ERROR - 2008-06-22 18:45:22 --> Severity: Warning --> DOMDocument::loadHTMLFile() [<a href='function.DOMDocument-loadHTMLFile'>function.DOMDocument-loadHTMLFile</a>]: Unexpected end tag : scri in http://www.mydomain.com/mypage, line: 60 scrapers.php 116
etc... etc...
I tried all these options (E_NONE doesn't seem to be valid, 0 is the corresponding value it seems):
Code:
$error_reporting = error_reporting(0);
$error_reporting = error_reporting(E_ALL ^ E_WARNING);
ini_set('error_reporting', 0);
In my config the threshold is:
Code:
$config['log_threshold'] = 1;
No clue why CI is still saving PHP warnings to the log. Any other ideas?