Add logging to python skeleton