[SR-Dev] git:janakj/bdb: - output the database location on startup

Jan Janak jan at iptel.org
Thu Feb 19 15:05:57 CET 2009


Module: sip-router
Branch: janakj/bdb
Commit: 1e8db50b481f5281938a6a987a8641a0d264f9cb
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1e8db50b481f5281938a6a987a8641a0d264f9cb

Author: Henning Westerholt <henning.westerholt at 1und1.de>
Committer: Henning Westerholt <henning.westerholt at 1und1.de>
Date:   Thu Nov 22 18:09:46 2007 +0000

- output the database location on startup


git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3200 689a6050-402a-0410-94f2-e92a70836424

---

 modules/db_berkeley/km_db_berkeley.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/db_berkeley/km_db_berkeley.c b/modules/db_berkeley/km_db_berkeley.c
index f5e755f..b4ccc7c 100644
--- a/modules/db_berkeley/km_db_berkeley.c
+++ b/modules/db_berkeley/km_db_berkeley.c
@@ -186,7 +186,8 @@ db_con_t* bdb_init(const char* _sqlurl)
 	}
 	memset(_res, 0, sizeof(db_con_t) + sizeof(bdb_con_t));
 	_res->tail = (unsigned long)((char*)_res+sizeof(db_con_t));
-	
+
+	LM_INFO("using database at: %.*s", _s.len, _s.s);
 	BDB_CON_CONNECTION(_res) = bdblib_get_db(&_s);
 	if (!BDB_CON_CONNECTION(_res))
 	{




More information about the sr-dev mailing list