--- a/core/componentmanager.lua Sat Apr 11 22:23:49 2009 +0100
+++ b/core/componentmanager.lua Sat Apr 11 22:24:44 2009 +0100
@@ -69,7 +69,7 @@
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);