# HG changeset patch # User Kim Alvefur # Date 1651921827 -7200 # Node ID 65316782862f61f38d09c0d5689b057f17451afc # Parent e9ea5c88def00dd7e41557f0c6b7bd95863a8bb4 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. diff -r e9ea5c88def0 -r 65316782862f plugins/mod_s2s.lua --- a/plugins/mod_s2s.lua Sat May 07 13:01:49 2022 +0200 +++ b/plugins/mod_s2s.lua Sat May 07 13:10:27 2022 +0200 @@ -155,6 +155,8 @@ 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