Log XML errors to yaz_log; not to stdout/stderr
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 10 May 2012 12:37:51 +0000 (14:37 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 10 May 2012 12:37:51 +0000 (14:37 +0200)
src/metaproxy_prog.cpp

index 6ecc5f0..7e25307 100644 (file)
@@ -191,6 +191,7 @@ static int sc_main(
 #endif
         );
     
+    yaz_log_xml_errors(0, YLOG_LOG);
     xmlDocPtr doc = xmlReadFile(fname,
                                 NULL, 
                                 XML_PARSE_XINCLUDE + XML_PARSE_NOBLANKS