Log the PQL form of a query when provided, whenever the log-queries config option is true.
Austin reviewed 2022-07-05 and requested some changes.