changeset 486:af97f94457fb

mod_rawdebug: add page
author Kim Alvefur <zash@zash.se>
date Wed, 03 Sep 2014 23:44:58 +0200
parents 1adeefc201d5
children febe6efcda39
files mod_rawdebug.wiki
diffstat 1 files changed, 24 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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.
+