https://github.com/wjt/prosody-misc
A little Prosody module to help debug s2s issues.
https://github.com/wjt/prosody-misc
Last synced: 4 months ago
JSON representation
A little Prosody module to help debug s2s issues.
- Host: GitHub
- URL: https://github.com/wjt/prosody-misc
- Owner: wjt
- License: mit
- Created: 2013-02-14T19:04:36.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-22T08:59:44.000Z (over 12 years ago)
- Last Synced: 2025-02-25T10:50:21.980Z (4 months ago)
- Language: Lua
- Homepage:
- Size: 102 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
mod_logfullstanzas
------------------Logs all s2s stanzas sent and received at level _debug_. Contrast with
Prosody's built-in logging, which only logs the top element of the stanza. This
might be useful when debugging why stanzas are mysteriously not being
delivered. For instance, Google Talk sends invalid IQs with two child elements
when starting a Jingle call, which [Prosody (rightly) rejects][248].[248]: http://code.google.com/p/lxmppd/issues/detail?id=248
Tested with Prosody 0.8.2; known not to work with Prosody 0.7.x. Note that this
only logs stanzas once the s2s session is established, and so will not help you
diagnose [dialback][] failures.[dialback]: http://xmpp.org/extensions/xep-0220.html
Based on code by Kim “Zash” Alvefur pasted to .
Patches to make it also log all c2s stanzas welcome.