Message244960
Here's a patch that replaces all the debuglevel stuff with logging. There's a single module-level logger that handles it all.
I wasn't sure if it would be okay to break API compatibility, so I kept the debuglevel flag and the set_debuglevel() method even though they don't do anything.
Most of the information that was being print()ed is still there, but I cleaned it up a little and added a few more messages.
The INFO level messages are pretty sparse, with DEBUG providing a lot more raw data from the request. |
|
Date |
User |
Action |
Args |
2015-06-07 17:17:29 | erynofwales | set | recipients:
+ erynofwales, r.david.murray, berker.peksag, demian.brecht |
2015-06-07 17:17:28 | erynofwales | set | messageid: <1433697448.84.0.00844705049734.issue24255@psf.upfronthosting.co.za> |
2015-06-07 17:17:28 | erynofwales | link | issue24255 messages |
2015-06-07 17:17:28 | erynofwales | create | |
|