Change in osmo-msc[master]: libmsc/db.c: print info about database name and libdbi version

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Mon Apr 15 13:26:19 UTC 2019


Vadim Yanitskiy has uploaded this change for review. ( https://gerrit.osmocom.org/13641


Change subject: libmsc/db.c: print info about database name and libdbi version
......................................................................

libmsc/db.c: print info about database name and libdbi version

Change-Id: Iaed452548eb2d847738b78d3489bf6f507a2e3c1
---
M src/libmsc/db.c
1 file changed, 3 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/41/13641/1

diff --git a/src/libmsc/db.c b/src/libmsc/db.c
index 0384320..a9aaf94 100644
--- a/src/libmsc/db.c
+++ b/src/libmsc/db.c
@@ -615,6 +615,9 @@
 {
 	dbi_initialize_r(NULL, &inst);
 
+	LOGP(DDB, LOGL_NOTICE, "Init database connection to '%s' using %s\n",
+	     name, dbi_version());
+
 	conn = dbi_conn_new_r("sqlite3", inst);
 	if (conn == NULL) {
 		LOGP(DDB, LOGL_FATAL, "Failed to create database connection to sqlite3 db '%s'; "

-- 
To view, visit https://gerrit.osmocom.org/13641
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaed452548eb2d847738b78d3489bf6f507a2e3c1
Gerrit-Change-Number: 13641
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190415/7921be8a/attachment.htm>


More information about the gerrit-log mailing list