modulemanager: Comment out logging of modules hooking stanzas, too noisy
authorMatthew Wild <mwild1@gmail.com>
Fri, 16 Jan 2009 05:38:03 +0000 (05:38 +0000)
committerMatthew Wild <mwild1@gmail.com>
Fri, 16 Jan 2009 05:38:03 +0000 (05:38 +0000)
core/modulemanager.lua

index d8914ccc08025d39930ff29dda19193c309d14bc..e783e9b43bbc85e97ff72c01fef040e4997e2483 100644 (file)
@@ -234,7 +234,7 @@ local function _add_handler(module, origin_type, tag, xmlns, handler)
                stanza_handlers:add(module.host, origin_type, tag, xmlns, handler);
                handler_info[handler] = module;
                handler_table:add(module.host, module.name, {module.host, origin_type, tag, xmlns});
-               module:log("debug", "I now handle tag '%s' [%s] with %s '%s'", tag, origin_type, msg, xmlns);
+               --module:log("debug", "I now handle tag '%s' [%s] with %s '%s'", tag, origin_type, msg, xmlns);
        else
                module:log("warn", "I wanted to handle tag '%s' [%s] with %s '%s' but mod_%s already handles that", tag, origin_type, msg, xmlns, handler_info[handlers[1]].module.name);
        end