projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26533e5
)
Log XML/XSLT errors to yaz_log.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Mar 2008 13:00:59 +0000
(14:00 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 25 Mar 2008 13:00:59 +0000
(14:00 +0100)
src/pazpar2.c
patch
|
blob
|
history
diff --git
a/src/pazpar2.c
b/src/pazpar2.c
index
59413e1
..
24020ef
100644
(file)
--- 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)
{