# HG changeset patch # User Matthew Wild # Date 1701279236 0 # Node ID b1f5a55315648bd7eb8b8c55e4c766cd874813b6 # Parent e8429d2faea43ab1a9f92d8bdd603479347f1133 mod_admin_shell: Remove verbose logging diff -r e8429d2faea4 -r b1f5a5531564 plugins/mod_admin_shell.lua --- a/plugins/mod_admin_shell.lua Wed Nov 29 17:22:18 2023 +0000 +++ b/plugins/mod_admin_shell.lua Wed Nov 29 17:33:56 2023 +0000 @@ -225,8 +225,6 @@ local result = st.stanza("repl-result"); - module:log("warn", "Processing line: %q", line); - if line:match("^>") then line = line:gsub("^>", ""); useglobalenv = true; @@ -2452,7 +2450,6 @@ local function on_command_added(event) local command = event.item; local mod_name = command._provided_by and ("mod_"..command._provided_by) or ""; - module:log("warn", "**************************************") if not schema.validate(command_metadata_schema, command) or type(command.handler) ~= "function" then module:log("warn", "Ignoring command added by %s: missing or invalid data", mod_name); return; @@ -2585,7 +2582,6 @@ module:handle_items("shell-command", new_item_handlers()); function module.add_host(host_module) - host_module:log("warn", "Loaded on %s", host_module.host); host_module:handle_items("shell-command", new_item_handlers(host_module.host)); end