Diff

plugins/mod_storage_sql.lua @ 12875:a28f77018476

mod_storage_sql: Remove module status on unknown 'debug' level Expected this to be translated to 'core', but it logs an error instead. See previous commit.
author Kim Alvefur <zash@zash.se>
date Tue, 31 Jan 2023 07:52:33 +0100
parent 12873:7f4f834fae79
child 12977:74b9e05af71e
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua	Tue Jan 31 07:48:21 2023 +0100
+++ b/plugins/mod_storage_sql.lua	Tue Jan 31 07:52:33 2023 +0100
@@ -840,7 +840,6 @@
 	engine = engines[db_uri];
 	if not engine then
 		module:log("debug", "Creating new engine %s", db_uri);
-		module:log_status("debug", "Creating new engine for "..params.driver);
 		engine = sql:create_engine(params, function (engine) -- luacheck: ignore 431/engine
 			if module:get_option("sql_manage_tables", true) then
 				-- Automatically create table, ignore failure (table probably already exists)