All the db operations are on db._timings along with their timings.
You can do {{=response.toolbar()}} to embed a toolbar to see them all. You
can log them to a file yourself
open('file','w').write(repr(db._timings))
On Thursday, 9 April 2015 10:23:59 UTC-5, AngeloC wrote:
>
> Hello List,
>
> I'm debugging an application not written by me running in production.
> I'm looking for a way to log all db operations to file for a certain
> controller.
> I'm not looking for a global logging of all operations, but only on
> controllers of interest.
>
> Is there such a nice feature in web2py?
>
> Thank you!
>
> --
> Profile: http://it.linkedin.com/in/compagnucciangelo
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.