[eluser]WanWizard[/eluser]
Extend the Log library, and alter the sequence of the levels:
Code:
var $_levels = array('ERROR' => '1', 'DEBUG' => '2', 'INFO' => '3', 'ALL' => '4');
The rule is that the log_threshold set, and all values lower, are written to the logfile. So if you want ERROR and INFO, but not DEBUG, change the above to
Code:
var $_levels = array('ERROR' => '1', 'INFO' => '2', 'DEBUG' => '3', 'ALL' => '4');
and set the log_threshold to 2.