From 44aea8f4f5269ef9cd2f6d2d8c8d20c20f7c5ac0 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 29 Nov 2023 17:33:56 +0000 Subject: mod_admin_shell: Remove verbose logging --- plugins/mod_admin_shell.lua | 4 ---- 1 file changed, 4 deletions(-) diff --git a/plugins/mod_admin_shell.lua b/plugins/mod_admin_shell.lua index ed1ae561..7de20e6e 100644 --- a/plugins/mod_admin_shell.lua +++ b/plugins/mod_admin_shell.lua @@ -225,8 +225,6 @@ local function handle_line(event) 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 new_item_handlers(command_host) 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 @@ end 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 -- cgit v1.2.3