aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2023-11-29 17:33:56 +0000
committerMatthew Wild <mwild1@gmail.com>2023-11-29 17:33:56 +0000
commit44aea8f4f5269ef9cd2f6d2d8c8d20c20f7c5ac0 (patch)
treeb3619bcd4e25dd16249ab7cc5ffa678f9e834b23 /plugins
parenta31ee8c429cd1be20f92ff187a75666e330f0296 (diff)
downloadprosody-44aea8f4f5269ef9cd2f6d2d8c8d20c20f7c5ac0.tar.gz
prosody-44aea8f4f5269ef9cd2f6d2d8c8d20c20f7c5ac0.zip
mod_admin_shell: Remove verbose logging
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_admin_shell.lua4
1 files changed, 0 insertions, 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 "<unknown module>";
- 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