Changeset

9068:95ee62b5afef

mod_s2s: Reduce logging (#776)
author Kim Alvefur <zash@zash.se>
date Sun, 22 Jul 2018 19:45:58 +0200
parents 9067:89e1bf37ff64
children 9069:22e5f11c778a
files plugins/mod_s2s/mod_s2s.lua
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_s2s/mod_s2s.lua	Sun Jul 22 19:44:58 2018 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua	Sun Jul 22 19:45:58 2018 +0200
@@ -110,14 +110,12 @@
 			log("error", "Stanza: %s", tostring(stanza));
 			return false;
 		else
-			(host.log or log)("debug", "going to send stanza to "..to_host.." from "..from_host);
 			-- FIXME
 			if host.from_host ~= from_host then
 				log("error", "WARNING! This might, possibly, be a bug, but it might not...");
 				log("error", "We are going to send from %s instead of %s", tostring(host.from_host), tostring(from_host));
 			end
 			if host.sends2s(stanza) then
-				host.log("debug", "stanza sent over %s", host.type);
 				return true;
 			end
 		end