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 | 83415cdd67764ca777659fe4f67f2b36434d64f0 (patch) | |
tree | a2ff1ce45e87252cf37cc12921f7692e7e67ad15 /util | |
parent | 0c33175d450c4a893eb4503f22dc6c39297499aa (diff) | |
download | prosody-83415cdd67764ca777659fe4f67f2b36434d64f0.tar.gz prosody-83415cdd67764ca777659fe4f67f2b36434d64f0.zip |
util.sql: Log debug message when connecting to database
Diffstat (limited to 'util')
-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, |