Log YAZ version upon start MP-599
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 19 Mar 2015 11:10:43 +0000 (12:10 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 19 Mar 2015 11:10:43 +0000 (12:10 +0100)
src/metaproxy_prog.cpp

index a4bb72b..943c3e0 100644 (file)
@@ -218,6 +218,11 @@ static int sc_main(
         , test_config ? "test" : "start"
             );
 
+    char yaz_version_str[20];
+    char yaz_sha1_str[41];
+    yaz_version(yaz_version_str, yaz_sha1_str);
+    yaz_log(YLOG_LOG, "YAZ %s %s", yaz_version_str, yaz_sha1_str);
+
     xmlInitParser();
     LIBXML_TEST_VERSION