log the agent id