projects
/
idzebra-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:
3fdd3e7
)
Log also Git SHA1 when zebrasrv starts
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 May 2009 11:53:49 +0000
(13:53 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 14 May 2009 11:53:49 +0000
(13:53 +0200)
index/zebraapi.c
patch
|
blob
|
history
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
631aaff
..
a343014
100644
(file)
--- a/
index/zebraapi.c
+++ b/
index/zebraapi.c
@@
-199,11
+199,14
@@
ZebraService zebra_start_res(const char *configName, Res def_res, Res over_res)
log_level = yaz_log_module_level("zebraapi");
log_level_initialized = 1;
}
-
+
+ *system_str = '\0';
+ *version_str = '\0';
zebra_get_version(version_str, system_str);
- yaz_log(YLOG_LOG, "zebra_start %s %s", version_str,
- configName ? configName : "");
+ yaz_log(YLOG_LOG, "zebra_start %s %s", version_str, system_str);
+ if (configName)
+ yaz_log(YLOG_LOG, "config %s", configName);
if ((res = res_open(def_res, over_res)))
{