X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzebraapi.c;h=a34301425af64bdd91beabf8e249ce04f0d098e0;hp=631aaff1eea77bbb642a93e27d19ffd6616c1304;hb=8d8fd83ac10dd174264826c11cc301002a9313c1;hpb=3fdd3e7aa5372e1a2a981a5826273f381f74be8e diff --git a/index/zebraapi.c b/index/zebraapi.c index 631aaff..a343014 100644 --- 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))) {