From: Adam Dickmeiss Date: Thu, 10 May 2012 12:37:51 +0000 (+0200) Subject: Log XML errors to yaz_log; not to stdout/stderr X-Git-Tag: v1.3.36~3 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=d0199347137c1614ee18af04fb1e52ff4a613cba;p=metaproxy-moved-to-github.git Log XML errors to yaz_log; not to stdout/stderr --- diff --git a/src/metaproxy_prog.cpp b/src/metaproxy_prog.cpp index 6ecc5f0..7e25307 100644 --- a/src/metaproxy_prog.cpp +++ b/src/metaproxy_prog.cpp @@ -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