# HG changeset patch # User Matthew Wild # Date 1436364932 -3600 # Node ID 9f2b1e0bba90f96c8424ff09a0a2d3489cccbd0e # Parent e961ac4efbb3f1bee106ac690064e3416289ed78 util.sql: Log debug message when connecting to database diff -r e961ac4efbb3 -r 9f2b1e0bba90 util/sql.lua --- 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,