comparison mod_rawdebug/README.markdown @ 2256:c5c583fae25d

mod_rawdebug: Simplify, remove telnet command, log every single byte
author Kim Alvefur <zash@zash.se>
date Thu, 28 Jul 2016 12:14:33 +0200
parents def6290a8cd1
children
comparison
equal deleted inserted replaced
2255:cdfc917a8cc7 2256:c5c583fae25d
1 --- 1 ---
2 labels: 2 summary: Extra verbose logging of sent and received
3 summary: Telnet command for raw stanza logging 3 ---
4 ...
5 4
6 # Summary 5 Summary
6 =======
7 7
8 Sometimes it is useful to get the raw XML logs from clients for 8 Sometimes it is useful to get the raw XML logs from clients for
9 debugging purposes, but some clients don't expose this. This command 9 debugging purposes, but some clients don't expose this.
10 lets you activate this on specific sessions.
11 10
12 # Usage 11 This module logs dumps everything sent and received into debug logs, for
13 12 debugging purposes.
14 In the telnet console:
15
16 c2s:show()
17 | example.com
18 | user@example.com/bd0b8b19 [c2sb75e93d8] available(0) (encrypted)
19 | ...
20 | OK: Total: $n clients
21
22
23 rawdebug:enable"user@example.com/bd0b8b19"
24 > OK
25
26 Then everything sent and received will be logged to debug levels.