aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-04-11 22:24:44 +0100
committerMatthew Wild <mwild1@gmail.com>2009-04-11 22:24:44 +0100
commit69787cdf52f151855434853740fb87291759947c (patch)
tree27c65d1f39cf3555dedabaaea8732a2b1b6c2ada /core
parentd3497ece79c81c9a2509407a50472856b8c72d0e (diff)
downloadprosody-69787cdf52f151855434853740fb87291759947c.tar.gz
prosody-69787cdf52f151855434853740fb87291759947c.zip
componentmanager: Small logging fix
Diffstat (limited to 'core')
-rw-r--r--core/componentmanager.lua2
1 files changed, 1 insertions, 1 deletions
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);