projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1d410a9
)
Make all logging in session use session_log
author
Dennis Schafroth
<dennis@indexdata.com>
Fri, 25 May 2012 11:53:55 +0000
(13:53 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Fri, 25 May 2012 11:53:55 +0000
(13:53 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
17aa3b7
..
64920da
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-637,12
+637,12
@@
void session_sort(struct session *se, const char *field, int increasing)
}
if (sr)
{
}
if (sr)
{
- yaz_log(YLOG_LOG, "search_sort: field=%s increasing=%d already fetched",
+ session_log(se, YLOG_DEBUG, "search_sort: field=%s increasing=%d already fetched",
field, increasing);
session_leave(se);
return;
}
field, increasing);
session_leave(se);
return;
}
- yaz_log(YLOG_LOG, "search_sort: field=%s increasing=%d must fetch",
+ session_log(se, YLOG_DEBUG, "search_sort: field=%s increasing=%d must fetch",
field, increasing);
sr = nmem_malloc(se->nmem, sizeof(*sr));
sr->field = nmem_strdup(se->nmem, field);
field, increasing);
sr = nmem_malloc(se->nmem, sizeof(*sr));
sr->field = nmem_strdup(se->nmem, field);
@@
-780,7
+780,7
@@
enum pazpar2_error_code session_search(struct session *se,
else
return PAZPAR2_NO_TARGETS;
}
else
return PAZPAR2_NO_TARGETS;
}
- yaz_log(YLOG_LOG, "session_start_search done");
+ session_log(se, YLOG_LOG, "session_start_search done");
return PAZPAR2_NO_ERROR;
}
return PAZPAR2_NO_ERROR;
}