# HG changeset patch # User Matthew Wild <mwild1@gmail.com> # Date 1274344833 -3600 # Node ID 05b45b1281aa7be1e2391872e2b63d3a3a0aa6b1 # Parent 15150ad771df0876d983e6d2b8933a8e18b42dc8 mod_groups: Remove potentially verbose per-contact logging (thanks Flo) diff -r 15150ad771df -r 05b45b1281aa plugins/mod_groups.lua --- a/plugins/mod_groups.lua Tue May 18 23:29:21 2010 +0100 +++ b/plugins/mod_groups.lua Thu May 20 09:40:33 2010 +0100 @@ -18,7 +18,7 @@ local module_host = module:get_host(); function inject_roster_contacts(username, host, roster) - module:log("warn", "Injecting group members to roster"); + --module:log("debug", "Injecting group members to roster"); local bare_jid = username.."@"..host; if not members[bare_jid] and not members[false] then return; end -- Not a member of any groups @@ -41,7 +41,7 @@ -- Find groups this JID is a member of if members[bare_jid] then for _, group_name in ipairs(members[bare_jid]) do - module:log("debug", "Importing group %s", group_name); + --module:log("debug", "Importing group %s", group_name); import_jids_to_roster(group_name); end end @@ -49,7 +49,7 @@ -- Import public groups if members[false] then for _, group_name in ipairs(members[false]) do - module:log("debug", "Importing group %s", group_name); + --module:log("debug", "Importing group %s", group_name); import_jids_to_roster(group_name); end end