Diff

plugins/mod_storage_sql.lua @ 7173:d8c060615aa1

mod_storage_sql: Lower message about new engine creation to debug level
author Kim Alvefur <zash@zash.se>
date Sun, 21 Feb 2016 19:01:26 +0100
parent 7170:fb37aece3252
child 7175:3e7c69190193
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Sun Feb 21 18:05:54 2016 +0100
+++ b/plugins/mod_storage_sql.lua	Sun Feb 21 19:01:26 2016 +0100
@@ -453,7 +453,7 @@
 	local params = normalize_params(module:get_option("sql", default_params));
 	engine = engines[sql.db2uri(params)];
 	if not engine then
-		module:log("info", "Creating new engine");
+		module:log("debug", "Creating new engine");
 		engine = sql:create_engine(params, function (engine)
 			if module:get_option("sql_manage_tables", true) then
 				-- Automatically create table, ignore failure (table probably already exists)