[Perf] chat: avoid transferring local debug logs over IPC (#331735)