Update error logging.