From 250de4ed23a44f5eb3552db317eef0d0fbe3265c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 15 Jan 2013 12:45:42 +0100 Subject: [PATCH] Log XML2/XSLT errors to yaz_log --- index/zebraapi.c | 2 ++ 1 file changed, 2 insertions(+) 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; -- 1.7.10.4