are you using 1.3?

because with cake 1.3 this is possible and already implemented
all errors are logged to /logs/error.log etc

if you want to add your own stuff - or (like me) trace the error:
http://cakephp.lighthouseapp.com/projects/42648/tickets/267-tracing-should-be-available-in-productive-error-logging

I guess you get the basic idea :)


On 12 Nov., 23:38, deathwebo <[email protected]> wrote:
> Hello everyone, i need to keep track of the errors in my cakephp app
> even when it's in production (debug = 0 ). the Debugger class has this
> errorHandler function, which only works when debug > 0. I want to call
> this function even when debug is 0 so the function can write in the
> debug.log. The thing is i don't want to display the message to the
> user so i guess i can comment the line that says :
>
> echo $_this->_output($level, $error, $code, $helpCode, $description,
> $file, $line, $context);
>
> At least i want to know where is this function called ? the
> errorHandler( ).
>
> Any help or hint would be appreciated ;)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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