getting rid of pythin log