[SR-Dev] git:janakj/bdb: - output the database location on startup
Jan Janak
jan at iptel.org
Sun Feb 15 16:12:25 CET 2009
Module: sip-router
Branch: janakj/bdb
Commit: e8503e72fe7355ccd8c61b9995ff95853ca8655b
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e8503e72fe7355ccd8c61b9995ff95853ca8655b
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/db_berkeley.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/modules/db_berkeley/db_berkeley.c b/modules/db_berkeley/db_berkeley.c
index f5e755f..b4ccc7c 100644
--- a/modules/db_berkeley/db_berkeley.c
+++ b/modules/db_berkeley/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