added logging to hub python