Software /
code /
prosody
Changeset
983:460429a59c83
componentmanager: Small logging fix
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 11 Apr 2009 22:24:44 +0100 |
parents | 982:dbbeb73952e6 |
children | 984:9acc1c2ceb2c |
files | core/componentmanager.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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);