Software /
code /
prosody
Diff
plugins/mod_presence.lua @ 1211:d60e68855176
mod_presence: Lower some log levels to their correct values
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 28 May 2009 02:59:47 +0100 |
parent | 1210:342f401f354c |
child | 1245:be5fe60bd866 |
line wrap: on
line diff
--- a/plugins/mod_presence.lua Thu May 28 02:56:13 2009 +0100 +++ b/plugins/mod_presence.lua Thu May 28 02:59:47 2009 +0100 @@ -132,7 +132,7 @@ end stanza.attr.to = nil; -- reset it else - log("error", "presence recieved from client with no roster"); + log("warn", "presence recieved from client with no roster"); end end @@ -153,7 +153,7 @@ end end end - log("info", "broadcasted presence of "..count.." resources from "..user.."@"..host.." to "..jid); + log("debug", "broadcasted presence of "..count.." resources from "..user.."@"..host.." to "..jid); return count; end