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
commit83415cdd67764ca777659fe4f67f2b36434d64f0 (patch)
treea2ff1ce45e87252cf37cc12921f7692e7e67ad15 /util
parent0c33175d450c4a893eb4503f22dc6c39297499aa (diff)
downloadprosody-83415cdd67764ca777659fe4f67f2b36434d64f0.tar.gz
prosody-83415cdd67764ca777659fe4f67f2b36434d64f0.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,