extend_recs = atoi(str);
- yaz_log(YLOG_LOG, "cl=%s show_stat_no=%d got=%d",
+ yaz_log(YLOG_DEBUG, "cl=%s show_stat_no=%d got=%d",
client_get_id(cl), cl->show_stat_no, cl->record_offset);
if (cl->show_stat_no < cl->record_offset)
return 0;
- yaz_log(YLOG_LOG, "cl=%s Trying to fetch more", client_get_id(cl));
+ yaz_log(YLOG_DEBUG, "cl=%s Trying to fetch more", client_get_id(cl));
if (number > extend_recs)
number = extend_recs;
if (number <= 0)
- yaz_log(YLOG_LOG, "cl=%s. OK no more in total set", client_get_id(cl));
+ yaz_log(YLOG_DEBUG, "cl=%s. OK no more in total set", client_get_id(cl));
else if (!co)
- yaz_log(YLOG_LOG, "cl=%s. No connection", client_get_id(cl));
+ yaz_log(YLOG_DEBUG, "cl=%s. No connection", client_get_id(cl));
else
{
ZOOM_resultset set = cl->resultset;
link = connection_get_link(co);
assert(link);
- session_log(se, YLOG_LOG, "%s: new search", client_get_id(cl));
-
client_destroy_xdoc(cl);
client_init_xdoc(cl);
facet_limits_destroy(cl->facet_limits);
cl->facet_limits = facet_limits_dup(facet_limits);
- yaz_log(YLOG_LOG, "Client %s: CCL query: %s limit: %s",
- client_get_id(cl), wrbuf_cstr(w_ccl), wrbuf_cstr(w_pqf));
cn = ccl_find_str(ccl_map, wrbuf_cstr(w_ccl), &cerror, &cpos);
ccl_qual_rm(&ccl_map);
if (!cn)
}
else
{
- session_log(se, YLOG_LOG, "PQF for Client %s: %s",
- client_get_id(cl), cl->pquery);
-
/* Support for PQF on SRU targets. */
if (strcmp(query_syntax, "pqf") != 0 && *sru)
{
int no_sortmap = 0;
struct client_list *l;
- session_log(se, YLOG_DEBUG, "Search");
+ session_log(se, YLOG_LOG, "search query %s", query);
+ if (filter)
+ session_log(se, YLOG_LOG, "search filter %s", filter);
+ if (limit)
+ session_log(se, YLOG_LOG, "search limit %s", limit);
*addinfo = 0;
no_working++;
}
}
- yaz_log(YLOG_LOG, "session_search: no_working=%d no_sortmap=%d",
- no_working, no_sortmap);
+ session_log(se, YLOG_LOG, "search "
+ "working %d sortmap %d failed-query %d failed-limit %d",
+ no_working, no_sortmap, no_failed_query, no_failed_limit);
session_enter(se, "session_search2");
if (no_working == 1 && no_sortmap == 1)
{