Adding logger.debug message for deleting key and removing from agent.