projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
97193c4
)
yaz_log_xml_errors: use log level given
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Jan 2010 08:31:25 +0000
(09:31 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 19 Jan 2010 08:31:25 +0000
(09:31 +0100)
Fix yaz_log_xml_errors to use the log_level given.. Instead of YLOG_WARN.
src/xmlerror.c
patch
|
blob
|
history
diff --git
a/src/xmlerror.c
b/src/xmlerror.c
index
ee05fe4
..
26b5840
100644
(file)
--- a/
src/xmlerror.c
+++ b/
src/xmlerror.c
@@
-33,7
+33,7
@@
static void xml_error_handler(void *ctx, const char *fmt, ...)
va_start(ap, fmt);
yaz_vsnprintf(buf, sizeof(buf), fmt, ap);
- yaz_log(YLOG_WARN, "%s: %s", prefix, buf);
+ yaz_log(xml_error_log_level, "%s: %s", prefix, buf);
va_end (ap);
}