Out defined DEBUG logging of recieved facet
authorDennis Schafroth <dennis@indexdata.com>
Wed, 16 Mar 2011 13:58:16 +0000 (14:58 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 16 Mar 2011 13:58:16 +0000 (14:58 +0100)
src/session.c

index c8d62e9..f1f742a 100644 (file)
@@ -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);
     }