From: Adam Dickmeiss Date: Tue, 29 Sep 2009 08:23:56 +0000 (+0200) Subject: Log SHA1 version on start X-Git-Tag: v1.2.1~9^2~5 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=586b3d19210b79822afd831d17476a3e2f342fdc;p=pazpar2-moved-to-github.git Log SHA1 version on start --- diff --git a/src/pazpar2.c b/src/pazpar2.c index c28a46a..3f5b1cf 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -177,7 +177,13 @@ static int sc_main( } else { - yaz_log(YLOG_LOG, "Pazpar2 %s started", VERSION); + yaz_log(YLOG_LOG, "Pazpar2 " VERSION " " +#ifdef PAZPAR2_VERSION_SHA1 + PAZPAR2_VERSION_SHA1 +#else + "-" +#endif + " started"); if (daemon && !log_file_in_use) { yaz_log(YLOG_FATAL, "Logfile must be given (option -l) for daemon "