 (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 query-map)))

    (try
      (let [munge-fn (get-munge-fn entity version query-options url-prefix)
