How to enable SQL output to log file with Zend_Db?
Asked Answered
S

1

1

I wonder if this possible with Zend_Db, but I am looking for something like SQL query logging similar to how Hibernate does it, where it shows you what SQL it generates in the log file.

Shamekashameless answered 24/5, 2010 at 0:14 Comment(1)
Take a look at this answer if you are looking for an option to write the profiler output to a log file: [1]:#8115488Resound
H
0

You can use Zend_Db_Profiler for this task.

Tutorial Zend Framework 1.6 with Profiler and FireBug

Hangnail answered 24/5, 2010 at 10:45 Comment(2)
Link is dead now. This is why adding information to answer makes SO better.Roundy
Added new link, you are right but currently not enough timeHangnail

© 2022 - 2024 — McMap. All rights reserved.