Remove duplicate logging.