From 69787cdf52f151855434853740fb87291759947c Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Sat, 11 Apr 2009 22:24:44 +0100 Subject: componentmanager: Small logging fix --- core/componentmanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/componentmanager.lua') diff --git a/core/componentmanager.lua b/core/componentmanager.lua index 6727c82e..feae96dc 100644 --- a/core/componentmanager.lua +++ b/core/componentmanager.lua @@ -69,7 +69,7 @@ function handle_stanza(origin, stanza) if not component then component = components[node.."@"..host]; end -- hack to allow hooking node@server if not component then component = components[host]; end if component then - log("debug", "stanza being handled by component: "..host); + log("debug", "%s stanza being handled by component: %s", stanza.name, host); component(origin, stanza, hosts[host]); else log("error", "Component manager recieved a stanza for a non-existing component: " .. stanza.attr.to); -- cgit v1.2.3