Basic logging (file / memory / console) was added to the Python SDK in this PR:
#139
Once the packages are published, update the python sample(s) to include the activity console logger (via the transcript logging middleware) so that debugging is easier.