util.sql: Log debug message when connecting to database

This commit is contained in:
Matthew Wild 2015-07-08 15:15:32 +01:00
parent eed81c2f94
commit 5a90847cd7

View file

@ -101,6 +101,7 @@ function engine:connect()
local params = self.params;
assert(params.driver, "no driver")
log("error", "Connecting to [%s] %s...", params.driver, params.database);
local dbh, err = DBI.Connect(
params.driver, params.database,
params.username, params.password,