Mercurial > prosody-modules
view mod_rawdebug/README.markdown @ 1829:23b3c8e294d2
mod_filter_chatstates: Hack to make sure session.send does not return nil which may break things sometimes
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 04 Sep 2015 00:41:29 +0200 |
parents | 4d73a1a6ba68 |
children | c866adb8921e |
line wrap: on
line source
--- labels: summary: Telnet command for raw stanza logging ... Summary ------- Sometimes it is useful to get the raw XML logs from clients for debugging purpouses, but some cliens don't expose this. This command lets you activate this on specific sessions. Usage ----- In the telnet console: c2s:show() | example.com | user@example.com/bd0b8b19 [c2sb75e93d8] available(0) (encrypted) | ... | OK: Total: $n clients rawdebug:enable"user@example.com/bd0b8b19" > OK Then everything sent and received will be logged to debug levels.