projects
/
pazpar2-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:
62ae1db
)
Log SHA1 version on start
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Sep 2009 08:23:56 +0000
(10:23 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 29 Sep 2009 08:23:56 +0000
(10:23 +0200)
src/pazpar2.c
patch
|
blob
|
history
diff --git
a/src/pazpar2.c
b/src/pazpar2.c
index
c28a46a
..
3f5b1cf
100644
(file)
--- 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 "