Thursday, February 3, 2011

Logging of PHP fatal errors not working

Cake 1.3.7

core.php:
Configure::write('debug', 0);
Configure::write('log', true);


According to this page:
http://book.cakephp.org/#!/view/1584/Error-logging
the logging of warning and fatal errors can be handled by the Cake
logs ("...Would log only warning and fatal errors.").

Warning errors are being logged fine. (I test this by including a file
that doesn't exist)

Fatal errors are not logged. Is this an error in the docs? Fatal
errors do show up in the log file specified in php.ini, but I can't
touch the php.ini on my shared host.


Thanks for any insight :)

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: