Remove trailing spaces and useless logging.