[PD] get console messages within patch