Mercurial > prosody-wiki
comparison mod_rawdebug.wiki @ 486:af97f94457fb
mod_rawdebug: add page
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 03 Sep 2014 23:44:58 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
485:1adeefc201d5 | 486:af97f94457fb |
---|---|
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 |