zoom: log RPN
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 25 Aug 2011 14:58:49 +0000 (16:58 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 25 Aug 2011 14:58:49 +0000 (16:58 +0200)
src/filter_zoom.cpp

index ca1c47f..3b3fea8 100644 (file)
@@ -1520,6 +1520,7 @@ void yf::Zoom::Frontend::handle_search(mp::Package &package)
         }
         pqf_wrbuf = wrbuf_alloc();
         ccl_pquery(pqf_wrbuf, cn);
+        yaz_log(YLOG_LOG, "RPN: %s", wrbuf_cstr(pqf_wrbuf));
         ccl_rpn_delete(cn);
     }
     
@@ -1552,7 +1553,7 @@ void yf::Zoom::Frontend::handle_search(mp::Package &package)
         }
         if (status == 0)
         {
-            yaz_log(YLOG_LOG, "search CQL: %s", wrbuf_cstr(wrb));
+            yaz_log(YLOG_LOG, "CQL: %s", wrbuf_cstr(wrb));
             b->search_cql(wrbuf_cstr(wrb), &hits, &error, &addinfo, odr);
         }