nasht00
(Yiiframework Com)
November 11, 2012, 8:17am
1
I am reading this: http://www.yiiframework.com/doc/guide/1.1/en/topics.logging#profiling-sql-executions
I have enabled sql profiling, I see all the requests eithers on the file log on the web log. However I do not see the claimed "measure the time spent in each SQL execution".
How do I see this?
nasht00
(Yiiframework Com)
November 11, 2012, 8:48am
2
I found my answer, I had to add this to my logs config:
array(
'class'=>'CProfileLogRoute',
)
Now the only issue so far is how can I make the logs be in the logs file instead of the screen?
edwardca
(Elee Designer)
September 14, 2014, 8:08pm
3
I found my answer, I had to add this to my logs config:
array(
'class'=>'CProfileLogRoute',
)
Now the only issue so far is how can I make the logs be in the logs file instead of the screen?
I am wondering the same thing for my project at the moment. Did you find a solution yet?