mod_presence: Lower some log levels to their correct values

Thu, 28 May 2009 02:59:47 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Thu, 28 May 2009 02:59:47 +0100
changeset 1211
d60e68855176
parent 1210
342f401f354c
child 1212
3be23cf5a659

mod_presence: Lower some log levels to their correct values

plugins/mod_presence.lua file | annotate | diff | comparison | revisions
--- 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
 

mercurial