projects
/
metaproxy-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:
3eab67d
)
Don't display start log message when config testing (-t)
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 24 May 2012 10:39:43 +0000
(12:39 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 24 May 2012 10:39:43 +0000
(12:39 +0200)
src/metaproxy_prog.cpp
patch
|
blob
|
history
diff --git
a/src/metaproxy_prog.cpp
b/src/metaproxy_prog.cpp
index
ecdee29
..
76113f3
100644
(file)
--- a/
src/metaproxy_prog.cpp
+++ b/
src/metaproxy_prog.cpp
@@
-185,12
+185,13
@@
static int sc_main(
return 1;
}
- yaz_log(YLOG_LOG, "metaproxy start " VERSION
+ if (!test_config)
+ yaz_log(YLOG_LOG, "metaproxy start " VERSION
#ifdef VERSION_SHA1
- " " VERSION_SHA1
+ " " VERSION_SHA1
#endif
- );
-
+ );
+
yaz_log_xml_errors(0, YLOG_LOG);
xmlDocPtr doc = xmlReadFile(fname,
NULL,