X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fxmlerror.c;h=26b5840231aa9ebfc6f14bacc1d8ea404ef1d2e1;hb=e2ee7361cc2ac8d8d00bbf4e74c46a77ccef1911;hp=d036e58aa91bc396e6d9f402827c5e7634721b62;hpb=379504a233e3e2cc85bca1e7b6d864f1395aec7c;p=yaz-moved-to-github.git diff --git a/src/xmlerror.c b/src/xmlerror.c index d036e58..26b5840 100644 --- a/src/xmlerror.c +++ b/src/xmlerror.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2009 Index Data + * Copyright (C) 1995-2010 Index Data * See the file LICENSE for details. */ @@ -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); }