no documention on how to debug launchpadlib request patterns.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
Triaged
|
High
|
Unassigned |
Bug Description
Leonard manages to show really lovely detailed traces of the requests that launchpadlib makes when talking about performance. I wants to knows how to do this myself - and for other users to be able to figure it out.
I suggest that launchpadlib/
summary: |
- debugging docs + no documention on how to debug launchpadlib request patterns. |
tags: | added: trivial |
20:52 < leonardr> sure __init_ _.py ?
20:52 < leonardr> the simplest way to do it is:
20:52 < leonardr> import httplib2
20:52 < leonardr> httplib2.debuglevel = 1
20:52 < lifeless> how would you feel about that being in the docstring for launchpadlib/
20:53 < leonardr> sounds good
20:53 < lifeless> would you like me to propose a merge for that ?
20:53 < lifeless> or do you want to JFDI ? :)
20:53 < leonardr> sure. i can also put timing information in lazr.restfulclient that's controlled by httplib2.debuglevel or a separate debuglevel
20:53 < leonardr> httplib2's debuglevel won't give your elapsed time
20:53 < lifeless> ok