Changeset

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
parents 6764:9f2b1e0bba90
children 6766:b38db4b634d3
files util/sql.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,