Software /
code /
prosody
Diff
core/componentmanager.lua @ 983:460429a59c83
componentmanager: Small logging fix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 11 Apr 2009 22:24:44 +0100 |
parent | 982:dbbeb73952e6 |
child | 984:9acc1c2ceb2c |
line wrap: on
line diff
--- 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);