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

Vadim Yanitskiy gerrit-no-reply at lists.osmocom.org
Thu Apr 25 19:33:37 UTC 2019


Vadim Yanitskiy has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, but someone else must approve
  Vadim Yanitskiy: Looks good to me, approved



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: merged
Gerrit-Change-Id: Iaed452548eb2d847738b78d3489bf6f507a2e3c1
Gerrit-Change-Number: 13641
Gerrit-PatchSet: 2
Gerrit-Owner: Vadim Yanitskiy <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190425/28d9c14f/attachment.html>


More information about the gerrit-log mailing list