From: Adam Dickmeiss Date: Tue, 15 Jan 2013 11:45:42 +0000 (+0100) Subject: Log XML2/XSLT errors to yaz_log X-Git-Tag: v2.0.54~8 X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=commitdiff_plain;h=250de4ed23a44f5eb3552db317eef0d0fbe3265c Log XML2/XSLT errors to yaz_log --- diff --git a/index/zebraapi.c b/index/zebraapi.c index 86360bb..c6e9668 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -215,6 +215,8 @@ ZebraService zebra_start_res(const char *configName, Res def_res, Res over_res) if (configName) yaz_log(YLOG_LOG, "config %s", configName); + yaz_log_xml_errors(0, YLOG_LOG); + if ((res = res_open(def_res, over_res))) { const char *passwd_plain = 0;