plugins/mod_admin_shell.lua
changeset 13356 b1f5a5531564
parent 13355 e8429d2faea4
child 13358 83f3076965f6
--- 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 "<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 @@
 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