Adjust logging when the agent cannot be found.