mod_rawdebug/README.markdown
author Kim Alvefur <zash@zash.se>
Mon, 26 Oct 2015 20:17:03 +0100
changeset 1940 c866adb8921e
parent 1807 4d73a1a6ba68
child 1941 def6290a8cd1
permissions -rw-r--r--
mod_rawdebug/README: H3 -> H2

---
labels:
summary: Telnet command for raw stanza logging
...

# Summary

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.

# Usage

In the telnet console:

    c2s:show()
    | example.com
    |    user@example.com/bd0b8b19 [c2sb75e93d8] available(0) (encrypted)
    |    ...
    | OK: Total: $n clients


    rawdebug:enable"user@example.com/bd0b8b19"
    > OK

Then everything sent and received will be logged to debug levels.