diff options
author | Matthew Wild <mwild1@gmail.com> | 2015-07-08 15:15:32 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2015-07-08 15:15:32 +0100 |
commit | 5a90847cd7b5df458a34000b187dcd11522940ea (patch) | |
tree | a2ff1ce45e87252cf37cc12921f7692e7e67ad15 | |
parent | eed81c2f941254646a0e77e6ca3f9a7b95710772 (diff) | |
download | prosody-5a90847cd7b5df458a34000b187dcd11522940ea.tar.gz prosody-5a90847cd7b5df458a34000b187dcd11522940ea.zip |
util.sql: Log debug message when connecting to database
-rw-r--r-- | util/sql.lua | 1 |
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, |