Remove the duplicate logging.