chore(logging): Add more logging in agent event handling