Correct log capturing to reference appropriate phase_data