Mercurial > prosody-modules
comparison mod_rawdebug/README.markdown @ 1803:4d73a1a6ba68
Convert all wiki pages to Markdown
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 28 Aug 2015 18:03:58 +0200 |
parents | |
children | c866adb8921e |
comparison
equal
deleted
inserted
replaced
1802:0ab737feada6 | 1803:4d73a1a6ba68 |
---|---|
1 --- | |
2 labels: | |
3 summary: Telnet command for raw stanza logging | |
4 ... | |
5 | |
6 Summary | |
7 ------- | |
8 | |
9 Sometimes it is useful to get the raw XML logs from clients for | |
10 debugging purpouses, but some cliens don't expose this. This command | |
11 lets you activate this on specific sessions. | |
12 | |
13 Usage | |
14 ----- | |
15 | |
16 In the telnet console: | |
17 | |
18 c2s:show() | |
19 | example.com | |
20 | user@example.com/bd0b8b19 [c2sb75e93d8] available(0) (encrypted) | |
21 | ... | |
22 | OK: Total: $n clients | |
23 | |
24 | |
25 rawdebug:enable"user@example.com/bd0b8b19" | |
26 > OK | |
27 | |
28 Then everything sent and received will be logged to debug levels. |