Mercurial > prosody-modules
comparison mod_rawdebug/README.wiki @ 1782:29f3d6b7ad16
Import wiki pages
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2015 16:43:56 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1781:12ac88940fe3 | 1782:29f3d6b7ad16 |
---|---|
1 #summary Telnet command for raw stanza logging | |
2 | |
3 = Summary = | |
4 | |
5 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. | |
6 | |
7 = Usage = | |
8 | |
9 In the telnet console: | |
10 | |
11 {{{ | |
12 c2s:show() | |
13 | example.com | |
14 | user@example.com/bd0b8b19 [c2sb75e93d8] available(0) (encrypted) | |
15 | ... | |
16 | OK: Total: $n clients | |
17 | |
18 | |
19 rawdebug:enable"user@example.com/bd0b8b19" | |
20 > OK | |
21 }}} | |
22 | |
23 Then everything sent and received will be logged to debug levels. | |
24 |