Log XML2/XSLT errors to yaz_log
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 15 Jan 2013 11:45:42 +0000 (12:45 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 15 Jan 2013 11:45:42 +0000 (12:45 +0100)
index/zebraapi.c

index 86360bb..c6e9668 100644 (file)
@@ -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);
 
     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;
     if ((res = res_open(def_res, over_res)))
     {
        const char *passwd_plain = 0;