Merge lp:~mwhudson/launchpad/puller-more-useful-xmlrpc-logs into lp:launchpad
Proposed by
Michael Hudson-Doyle
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Hudson-Doyle | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | not available | ||||
Proposed branch: | lp:~mwhudson/launchpad/puller-more-useful-xmlrpc-logs | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
100 lines 3 files modified
Makefile (+0/-2) cronscripts/supermirror-pull.py (+3/-3) lib/canonical/twistedsupport/loggingsupport.py (+41/-0) |
||||
To merge this branch: | bzr merge lp:~mwhudson/launchpad/puller-more-useful-xmlrpc-logs | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Review via email: mp+12562@code.launchpad.net |
Commit message
Make the logging the puller does about XML-RPC requests more useful.
To post a comment you must log in.
Hi,
This branch removes useless crap from the puller logs and puts in some hopefully useful crap instead. The puller logs now look like this:
2009-09-29 01:11:58 INFO Log opened. Pull() 'branch- puller' , 'grond', (2009, 9, 29, 1, 11, 58, 1, 272, 0), (2009, 9, 29, 1, 11, 58, 1, 272, 0)) puller- more-useful- xmlrpc- logs$ /home/mwh/ canonical/ checkouts/ puller- more-useful- xmlrpc- logs/bin/ py cronscripts/ supermirror- pull.py Pull() ///~mark/ applets/ wibbles' , '~mark/ applets/ wibbles' , '', 'HOSTED'] Pull() ///~mark/ applets/ wibbles to lp-mirrored: ///~mark/ applets/ wibbles ///~mark/ applets/ wibbles to lp-mirrored: ///~mark/ applets/ wibbles to rev <email address hidden> 'branch- puller' , 'grond', (2009, 9, 29, 1, 12, 12, 1, 272, 0), (2009, 9, 29, 1, 12, 15, 1, 272, 0))
2009-09-29 01:11:58 INFO Sending request [0]: acquireBranchTo
2009-09-29 01:11:58 INFO Reply to request [0]: []
2009-09-29 01:11:58 INFO Mirroring complete
2009-09-29 01:11:58 INFO Sending request [1]: recordSuccess(
2009-09-29 01:11:58 INFO Reply to request [1]: True
2009-09-29 01:11:58 INFO Main loop terminated.
mwh@grond:
2009-09-29 01:12:12 INFO Log opened.
2009-09-29 01:12:12 INFO Sending request [0]: acquireBranchTo
2009-09-29 01:12:12 INFO Reply to request [0]: [79, 'lp-hosted:
2009-09-29 01:12:12 INFO Sending request [1]: acquireBranchTo
2009-09-29 01:12:12 INFO Reply to request [1]: []
2009-09-29 01:12:15 INFO Mirroring branch 79: lp-hosted:
2009-09-29 01:12:15 INFO Sending request [2]: startMirroring(79,)
2009-09-29 01:12:15 INFO Reply to request [2]: True
2009-09-29 01:12:15 INFO Sending request [3]: setStackedOn(79, '')
2009-09-29 01:12:15 INFO Reply to request [3]: True
2009-09-29 01:12:15 INFO Successfully mirrored branch 79 lp-hosted:
2009-09-29 01:12:15 INFO Sending request [4]: mirrorComplete(79, '<email address hidden>')
2009-09-29 01:12:15 INFO Reply to request [4]: True
2009-09-29 01:12:15 INFO Mirroring complete
2009-09-29 01:12:15 INFO Sending request [5]: recordSuccess(
2009-09-29 01:12:15 INFO Reply to request [5]: True
2009-09-29 01:12:15 INFO Main loop terminated.
Cheers,
mwh