From 71dc755f0f20c5dd2ad6ed76a8ae791bae16a8b1 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 7 May 2022 13:10:27 +0200 Subject: mod_s2s: Log queued stanzas for which no error reply is produced This would mainly be error stanzas. Good to have some trace of when handling of them are finished. --- plugins/mod_s2s.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/mod_s2s.lua b/plugins/mod_s2s.lua index 7662be57..dd585ac7 100644 --- a/plugins/mod_s2s.lua +++ b/plugins/mod_s2s.lua @@ -155,6 +155,8 @@ local function bounce_sendq(session, reason) reason_text and ("Server-to-server connection failed: "..reason_text) or nil ); core_process_stanza(dummy, reply); + else + (session.log or log)("debug", "Not eligible for bouncing, discarding %s", stanza:top_tag()); end sendq[i] = nil; end -- cgit v1.2.3