[query-optimization] Fixed log display