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:
87cddf2
)
Log when metaproxy is invoked in test mode (-t)
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Oct 2012 07:47:19 +0000
(07:47 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 4 Oct 2012 07:47:19 +0000
(07:47 +0000)
src/metaproxy_prog.cpp
patch
|
blob
|
history
diff --git
a/src/metaproxy_prog.cpp
b/src/metaproxy_prog.cpp
index
19434be
..
b72a6ac
100644
(file)
--- a/
src/metaproxy_prog.cpp
+++ b/
src/metaproxy_prog.cpp
@@
-197,11
+197,11
@@
static int sc_main(
return 1;
}
- if (!test_config)
- yaz_log(YLOG_LOG, "metaproxy start " VERSION
+ yaz_log(YLOG_LOG, "metaproxy %s " VERSION
#ifdef VERSION_SHA1
" " VERSION_SHA1
#endif
+ , test_config ? "test" : "start"
);
yaz_log_xml_errors(0, YLOG_LOG);
@@
-261,6
+261,8
@@
static int sc_main(
ret = 1;
}
xmlFreeDoc(doc);
+ if (test_config)
+ yaz_log(YLOG_LOG, "metaproxy test exit code %d", ret);
return ret;
}