From: Adam Dickmeiss Date: Tue, 19 Jan 2010 08:31:25 +0000 (+0100) Subject: yaz_log_xml_errors: use log level given X-Git-Tag: v4.0.0~25 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=d68f051b434a3a6171e56f12c798fd499e9abbbb;p=yaz-moved-to-github.git yaz_log_xml_errors: use log level given Fix yaz_log_xml_errors to use the log_level given.. Instead of YLOG_WARN. --- diff --git a/src/xmlerror.c b/src/xmlerror.c index ee05fe4..26b5840 100644 --- 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); }