How to get the log record of the `Cakelog::write()`method?

Asked

Viewed 31 times

0

I’m studying about the logs of cakephp and in my code I added the following line for all actions of INSERT, UPDATE and DELETE of my system of crud.

Cakelog::write('debug', 'mensagem de exemplo de log!');

And now I want to know how I can see the records of logs which are generated by this method CakeLog::write()?

Already I thank you!

1 answer

0

I’ve been researching the log records archive in the documentation of the CakePHPand I found a file called debug.log in the directory at ./app/tmp/logs/ where it shows the records of the actions of my application.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.