From: Adam Dickmeiss Date: Tue, 25 Mar 2008 13:00:59 +0000 (+0100) Subject: Log XML/XSLT errors to yaz_log. X-Git-Tag: PAZPAR2.1.0.7~3 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=13953c819a69e78fbfc1f5df26fef4670904909c;p=pazpar2-moved-to-github.git Log XML/XSLT errors to yaz_log. --- diff --git a/src/pazpar2.c b/src/pazpar2.c index 59413e1..24020ef 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -80,6 +80,9 @@ int main(int argc, char **argv) yaz_log(YLOG_WARN|YLOG_ERRNO, "signal"); yaz_log_init_prefix("pazpar2"); +#if YAZ_VERSIONL >= 0x03001B + yaz_log_xml_errors(0, YLOG_WARN); +#endif while ((ret = options("dDf:h:l:p:t:u:VX", argv, argc, &arg)) != -2) {