From f86af442083973907f7cfeadd186a3d77432fa7c Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sun, 22 Jul 2018 19:45:58 +0200 Subject: mod_s2s: Reduce logging (#776) --- plugins/mod_s2s/mod_s2s.lua | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/mod_s2s') diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index e5fb8042..ddc49134 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -129,14 +129,12 @@ function route_to_existing_session(event) 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 -- cgit v1.2.3