After digging around I found this post:

http://myeasyscripts.com/loudbaking/sql-query-logs-in-cakephps-shells/

The solution is a couple of years old but still works.  It doesn't
seem like you should have to hack a core file to do this.

Levi

On Jun 25, 10:50 am, lsenft <[email protected]> wrote:
> How do you show the sql for queries being executed in the console?  I
> have debug set and I can see the SQL for the queries that cake builds
> when I look at a page in the browser but not when I run queries in the
> console.
>
> Thank you.
>
> Levi
--~--~---------~--~----~------------~-------~--~----~
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