I've noticed this too, and assumed it was because I use a custom log
class.  When DEBUG > 0, then any notices, warnings and errors are
logged to the /app/tmp/logs/error.log with my own debug statements.
When DEBUG = 0 though, none are logged.

In both cases, the "log_errors" and "error_log" settings in php.ini
are ignored (due to the set_error_handler() call in /cake/libs/
debugger.php), and when DEBUG is 0 then the error_reporting(0); in /
cake/libs/configure.php causes the debugger not to log any errors.

Would most people assume that when in production mode no errors are
logged at all?  I certain agree that notices and warnings should not
be, but if there is a fatal error for some reason it makes sense that
this should at least be logged...


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to