From d68f051b434a3a6171e56f12c798fd499e9abbbb Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 19 Jan 2010 09:31:25 +0100 Subject: [PATCH] yaz_log_xml_errors: use log level given Fix yaz_log_xml_errors to use the log_level given.. Instead of YLOG_WARN. --- src/xmlerror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 1.7.10.4