Mercurial > prosody-modules
diff mod_rawdebug/README.markdown @ 2256:c5c583fae25d
mod_rawdebug: Simplify, remove telnet command, log every single byte
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 28 Jul 2016 12:14:33 +0200 |
parents | def6290a8cd1 |
children |
line wrap: on
line diff
--- a/mod_rawdebug/README.markdown Thu Jul 28 12:12:23 2016 +0200 +++ b/mod_rawdebug/README.markdown Thu Jul 28 12:14:33 2016 +0200 @@ -1,26 +1,12 @@ --- -labels: -summary: Telnet command for raw stanza logging -... +summary: Extra verbose logging of sent and received +--- -# Summary +Summary +======= Sometimes it is useful to get the raw XML logs from clients for -debugging purposes, but some clients don't expose this. This command -lets you activate this on specific sessions. - -# Usage - -In the telnet console: +debugging purposes, but some clients don't expose this. - 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. +This module logs dumps everything sent and received into debug logs, for +debugging purposes.