# HG changeset patch
# User Kim Alvefur <zash@zash.se>
# Date 1532281558 -7200
# Node ID 93ac83372ac2bb3497e3ece701e6ce92284ea70c
# Parent  f2a5d8eb04b3a28d0d0d0330f06fc9b0853fcb7e
mod_s2s: Reduce logging (#776)

diff -r f2a5d8eb04b3 -r 93ac83372ac2 plugins/mod_s2s/mod_s2s.lua
--- 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
@@ -129,14 +129,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", host.from_host, from_host);
 			end
 			if host.sends2s(stanza) then
-				host.log("debug", "stanza sent over %s", host.type);
 				return true;
 			end
 		end