Diff

util/sql.lua @ 6765:0cbb09afa5c3

util.sql: Fix log level of debug message
author Matthew Wild <mwild1@gmail.com>
date Wed, 08 Jul 2015 15:16:17 +0100
parent 6764:9f2b1e0bba90
child 6766:b38db4b634d3
line wrap: on
line diff
--- a/util/sql.lua	Wed Jul 08 15:15:32 2015 +0100
+++ b/util/sql.lua	Wed Jul 08 15:16:17 2015 +0100
@@ -101,7 +101,7 @@
 
 	local params = self.params;
 	assert(params.driver, "no driver")
-	log("error", "Connecting to [%s] %s...", params.driver, params.database);
+	log("debug", "Connecting to [%s] %s...", params.driver, params.database);
 	local dbh, err = DBI.Connect(
 		params.driver, params.database,
 		params.username, params.password,