Add more logging to grounding phase.