diff options
author | Kim Alvefur <zash@zash.se> | 2018-07-22 19:45:58 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-07-22 19:45:58 +0200 |
commit | 87a7a0e66fd522344905b8b09c8e067bcc901b6a (patch) | |
tree | d5f3b8c8d1327706855e60e0a2489ee599a0046c | |
parent | bfc82913d197bbb59d127d0b2757b1410eaa5da2 (diff) | |
download | prosody-87a7a0e66fd522344905b8b09c8e067bcc901b6a.tar.gz prosody-87a7a0e66fd522344905b8b09c8e067bcc901b6a.zip |
mod_s2s: Reduce logging (#776)
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
1 files changed, 0 insertions, 2 deletions
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 |