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:
6c93cf7
)
Out defined DEBUG logging of recieved facet
author
Dennis Schafroth
<dennis@indexdata.com>
Wed, 16 Mar 2011 13:58:16 +0000
(14:58 +0100)
committer
Dennis Schafroth
<dennis@indexdata.com>
Wed, 16 Mar 2011 13:58:16 +0000
(14:58 +0100)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
c8d62e9
..
f1f742a
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-211,8
+211,9
@@
void add_facet(struct session *s, const char *type, const char *value, int count
s->num_termlists = i + 1;
}
- session_log(s, YLOG_DEBUG, "Facets for %s: %s norm:%s (%d)",
- type, value, wrbuf_cstr(facet_wrbuf), count);
+#if
+ session_log(s, YLOG_DEBUG, "Facets for %s: %s norm:%s (%d)", type, value, wrbuf_cstr(facet_wrbuf), count);
+#endif
termlist_insert(s->termlists[i].termlist, wrbuf_cstr(facet_wrbuf),
count);
}