I don't think there is any way to make Cake do detailed logs of errors internal to the framework. You could put a beforeFilter action in your app_controller that detects if Cake has detected an error and does some appropriate action, or you could write your own logs component/ plugin etc.
No idea if it will help, but I had a similar difficulty to you with respect to the cache. In my case when creating a new user, I also created a new user-specific table. When the new user tried to log in for the first time though they got a 404 error which could be solved by refreshing or setting debug to 2. In the end I solved it gracefully using the following code snippet immediately after saving a new user: if(!clearCache(null, 'models')) { $this->Log->error('Model cache was not cleared for new user id ' . $this->userModel->id); } where the log is a custom component rather than the built-in one. The clearCache has good docs and may be worth investigating if you are sure you have a cache problem. On 30 Mar, 07:15, "Charles Schaefer" <[EMAIL PROTECTED]> wrote: > Thanks all, > > but i think that solutions is only for that errors of PHP. > I'm needing a way of to log the errors of cake, i.e. a table not found > in the database. When occurrs an error like that, the cake throw a > "404 - not found", but, i think, it don't log this automatically. > > Exists some way of to make cake log that errors without to change the > cake core? > > Thanks again, > > On Mar 29, 6:38 pm, "Christian Winther [Cwi.dk]" <[EMAIL PROTECTED]> > wrote: > > >http://php.net/manual/en/function.set-error-handler.phpwould probadly be > > nicer ;) > > > I got a small utility class that mail me any errors that is above E_NOTICE > > > Quite nice way to get error reporting, even if debug === 0 :) > > > -- Christian > > > -----Original Message----- > > From: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf > > > Of John David Anderson (_psychic_) > > Sent: 29. marts 2007 22:46 > > To: cake-php@googlegroups.com > > Subject: Re: logging cake errors > > > On Mar 29, 2007, at 2:32 PM, Charles Schaefer wrote: > > > > Good, but I don't saw an automatic log system in the cake! > > > Am I wrong with this thought, or cake really haven't a log system? > > > $this->log("message"); > > > :) > > >http://api.cakephp.org/ > > class_object.html#942f17c527c523372325ee54d343ad44 > > > I think the logs are in /app/tmp/logs/. > > > -- John --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---