aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-01-31 07:52:33 +0100
committerKim Alvefur <zash@zash.se>2023-01-31 07:52:33 +0100
commit36051376569002af4b53d55955c331de7182b44e (patch)
treed731ca9db40dda7f5ba285ed5751de4a248590cd
parentd90a094949fccddad9c26ba29d13b47410d3fee7 (diff)
downloadprosody-36051376569002af4b53d55955c331de7182b44e.tar.gz
prosody-36051376569002af4b53d55955c331de7182b44e.zip
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.
-rw-r--r--plugins/mod_storage_sql.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index 84c61aa5..86a64ff6 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -840,7 +840,6 @@ function module.load()
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)