Software /
code /
prosody
Changeset
6764:9f2b1e0bba90
util.sql: Log debug message when connecting to database
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 08 Jul 2015 15:15:32 +0100 |
parents | 6763:e961ac4efbb3 |
children | 6765:0cbb09afa5c3 |
files | util/sql.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/sql.lua Wed Jul 08 15:14:24 2015 +0100 +++ b/util/sql.lua Wed Jul 08 15:15:32 2015 +0100 @@ -101,6 +101,7 @@ 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,