From: Sebastian Harl Date: Thu, 1 May 2014 21:19:50 +0000 (+0200) Subject: tools: Log library versions as well on startup. X-Git-Tag: sysdb-0.1.0~46 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e512851481132ca3f18ed3e2c8ea8802b915cd52;p=sysdb.git tools: Log library versions as well on startup. --- diff --git a/src/tools/sysdb/main.c b/src/tools/sysdb/main.c index 1174fa9..05c5b9f 100644 --- a/src/tools/sysdb/main.c +++ b/src/tools/sysdb/main.c @@ -306,7 +306,8 @@ main(int argc, char **argv) } sdb_log(SDB_LOG_INFO, "SysDB client "SDB_CLIENT_VERSION_STRING - SDB_CLIENT_VERSION_EXTRA"\n"); + SDB_CLIENT_VERSION_EXTRA" (libsysdbclient %s%s)\n", + sdb_client_version_string(), sdb_client_version_extra()); using_history(); diff --git a/src/tools/sysdbd/main.c b/src/tools/sysdbd/main.c index 7dc9f26..b8e97a3 100644 --- a/src/tools/sysdbd/main.c +++ b/src/tools/sysdbd/main.c @@ -267,7 +267,8 @@ main_loop(void) } sdb_log(SDB_LOG_INFO, "SysDB daemon "SDB_VERSION_STRING - SDB_VERSION_EXTRA " (pid %i) initialized successfully", + SDB_VERSION_EXTRA " (libsysdb %s%s, pid %i) initialized " + "successfully", sdb_version_string(), sdb_version_extra(), (int)getpid()); sdb_connection_enable_logging();