1803
+ − 1 ---
+ − 2 labels:
+ − 3 summary: Telnet command for raw stanza logging
+ − 4 ...
+ − 5
1936
+ − 6 # Summary
1803
+ − 7
+ − 8 Sometimes it is useful to get the raw XML logs from clients for
1937
+ − 9 debugging purposes, but some clients don't expose this. This command
1803
+ − 10 lets you activate this on specific sessions.
+ − 11
1936
+ − 12 # Usage
1803
+ − 13
+ − 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.