From 13953c819a69e78fbfc1f5df26fef4670904909c Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 25 Mar 2008 14:00:59 +0100 Subject: [PATCH] Log XML/XSLT errors to yaz_log. --- src/pazpar2.c | 3 +++ 1 file changed, 3 insertions(+) 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) { -- 1.7.10.4