python3 fix for log
many log calls to find the builderror on travis-ci