0


I need to make query log from only one table in MySQL database. I have lot of sites connected to my database, so I can't set query log directly on mysql.
I have error which occurs on average once a week. A strange coincidence.
I want to save logs from whole page.

How to set up query log to file on CakePHP 2.x?

4
  • Consider looking at this thread, should apply to cakePHP2 stackoverflow.com/questions/4721052/… Commented Jul 10, 2014 at 13:54
  • I try to use this method. Commented Jul 10, 2014 at 13:56
  • I tried method from THERE. But I get error Datasource class could not be found. Commented Jul 10, 2014 at 14:07
  • And I don't have folder dbo and any driver there(because its 2.x). How to do this? Commented Jul 10, 2014 at 14:14

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.