Commit 84ef68eb authored by Benjamin REIS's avatar Benjamin REIS

add log

parent d3486aa4
......@@ -46,11 +46,13 @@ Core::Core (LinphoneCore *cCore) : Object(*new CorePrivate) {
strcmp(lp_config_get_string(linphone_core_get_config(d->cCore), "server", "db_backend", NULL), "mysql") == 0
? MainDb::Mysql
: MainDb::Sqlite3;
lInfo << "Creating linphone.db at : " << uri;
d->mainDb.connect(backend, uri);
return;
}
static string path = getDataPath() + "/linphone.db";
lInfo << "Creating linphone.db at : " << path;
d->mainDb.connect(MainDb::Sqlite3, path);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment