You could use the logablebehavior I have used it and it is really excellent!! It even integrates with auth component so you can log and see who did what. It can also log inserts too.
http://code.google.com/p/alkemann/wiki/LogableBehavior http://bakery.cakephp.org/articles/view/logablebehavior Enjoy! Chris On Jul 3, 5:18 pm, satyavirya <hendry....@gmail.com> wrote: > Hi guys, my app need to write into a log table for every successful > update/delete operation, my current approach is to put the code in > AfterFilter in AppController, the problem is, how do I get / know a > successful update/delete has been done? > Or is there any other suggestions to do this? Thanks. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---