From: Dennis Schafroth Date: Wed, 16 Mar 2011 13:58:16 +0000 (+0100) Subject: Out defined DEBUG logging of recieved facet X-Git-Tag: v1.5.6~36 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=3606fd6346ccfe3508aa7cd366b849e389f1b861;p=pazpar2-moved-to-github.git Out defined DEBUG logging of recieved facet --- diff --git a/src/session.c b/src/session.c index c8d62e9..f1f742a 100644 --- 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); }