Hello; I'm using symfony 1.4.4 with doctrine 1.2, and I want to add a dql (or sql) logger for each query.
I created a sqlLogger class with a function postExec, like this: class sqlLogger extends Doctrine_EventListener { public function postExec(Doctrine_Event $event) { // doLogging function } } in ProjectConfiguration.class. php, I attached the listener like this public function configureDoctrine(Doctrine_Manager $manager) { ... $manager->setListener(new sqlLogger()); } I see that doLogging function is never called, I don't know what I'm missing. I appreciate your help, or if there is another way doing this, it will be great. Thank you. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en