aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2015-07-08 15:15:32 +0100
committerMatthew Wild <mwild1@gmail.com>2015-07-08 15:15:32 +0100
commit5a90847cd7b5df458a34000b187dcd11522940ea (patch)
treea2ff1ce45e87252cf37cc12921f7692e7e67ad15 /util
parenteed81c2f941254646a0e77e6ca3f9a7b95710772 (diff)
downloadprosody-5a90847cd7b5df458a34000b187dcd11522940ea.tar.gz
prosody-5a90847cd7b5df458a34000b187dcd11522940ea.zip
util.sql: Log debug message when connecting to database
Diffstat (limited to 'util')
-rw-r--r--util/sql.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sql.lua b/util/sql.lua
index 6622ad56..037dbc76 100644
--- a/util/sql.lua
+++ b/util/sql.lua
@@ -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,