Log query, history state, cliphist output stats, and filter results to aid debugging prefix search issues.