Hi, I'm running console for test suites & custom shells and just noticed that it will not report any E_NOTICE (like for example 'undefined index') in console output or log files even debug is set to 3.
Shouldn't console report E_NOTICE? at least while running test suite? I've changed /cake/libs/configure.php, commenting out error_reporting (0) in order to make it output E_NOTICE: /cake/libs/configure.php (Line 271): if (isset($config['debug'])) { if ($_this->debug) { error_reporting(E_ALL); if (function_exists('ini_set')) { ini_set('display_errors', 1); } if (!class_exists('Debugger')) { require LIBS . 'debugger.php'; } if (!class_exists('CakeLog')) { require LIBS . 'cake_log.php'; } Configure::write('log', LOG_NOTICE); } else { // removed by defranco: error_reporting(0); Configure::write('log', LOG_NOTICE); } } Now it is outputting E_NOTICE on console. But is there any cleaner solution for this? Should I report it as a bug? Kind Regards Defranco --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---