# HG changeset patch
# User Matthew Wild <mwild1@gmail.com>
# Date 1239485084 -3600
# Node ID 460429a59c83cbdeb6349072fd3143607c85abdd
# Parent  dbbeb73952e60710f48257f3e6700fe7d9466f82
componentmanager: Small logging fix

diff -r dbbeb73952e6 -r 460429a59c83 core/componentmanager.lua
--- 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);