Hi bakers.

I need to log every SQL command executed by models. I was using the
datasource's queriesLog variable to do this but when i put my server
in production mode queries stoped being logged. I looked at the code
and saw that SQL queries where only being logged in debug mode!

I _really_ need to log SQL commands (insert, update and delete).
Before i go and hack away at the core i would like to know if there is
an easy way of doing this?

Thanks in advance.

Gonçalo Marrafa.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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