# HG changeset patch # User Kim Alvefur # Date 1409780698 -7200 # Node ID af97f94457fb2f1097ab35ffe519a7e88247af38 # Parent 1adeefc201d5ca82de0adb2e23ed6c473384cb34 mod_rawdebug: add page diff -r 1adeefc201d5 -r af97f94457fb mod_rawdebug.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_rawdebug.wiki Wed Sep 03 23:44:58 2014 +0200 @@ -0,0 +1,24 @@ +#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. +