projects
/
idzebra-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:
53f50a1
)
Display match string if log level "extract" is used.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 8 May 2007 14:27:23 +0000
(14:27 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 8 May 2007 14:27:23 +0000
(14:27 +0000)
index/extract.c
patch
|
blob
|
history
diff --git
a/index/extract.c
b/index/extract.c
index
85f91bd
..
1312bfe
100644
(file)
--- 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)