 (defn maybe-log-sql [logging-options gen-sql]
   (if-let [log-id (:log-id logging-options)]
     (let [sql-output (gen-sql)]
-      (log/debugf "%s:%s:%s" "PDBQuery" log-id (:results-query sql-output))
+      (log/infof "%s:%s:%s" "PDBQuery" log-id (:results-query sql-output))
       sql-output)
     (gen-sql)))
 


    (when log-queries
      ;; log the AST of the incoming query
      (log/debugf "%s:%s:%s" "PDBQuery" log-id (:query query-map)))

    (try
      (jdbc/with-transacted-connection scf-read-db


     (when log-queries
       ;; log the AST of the incoming query
       (log/infof "%s:%s:%s" "PDBQuery" log-id query))

     (let [f #(let [{:keys [results-query]}
                    (query->sql remaining-query entity version
