From d05a55789f78d56886f991e6054d7913a1bece20 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 8 May 2007 14:27:23 +0000 Subject: [PATCH] Display match string if log level "extract" is used. --- index/extract.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index/extract.c b/index/extract.c index 85f91bd..1312bfe 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,4 +1,4 @@ -/* $Id: extract.c,v 1.257 2007-05-08 12:50:04 adam Exp $ +/* $Id: extract.c,v 1.258 2007-05-08 14:27:23 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -704,10 +704,10 @@ ZEBRA_RES zebra_extract_record_stream(ZebraHandle zh, matchStr); - if (1) + if (log_level_extract) { WRBUF w = wrbuf_hex_str(matchStr); - yaz_log(YLOG_LOG, "matchStr: %s", wrbuf_cstr(w)); + yaz_log(log_level_extract, "matchStr: %s", wrbuf_cstr(w)); wrbuf_destroy(w); } if (rinfo) -- 1.7.10.4