Cleaning log print statements