view mod_rawdebug/README.markdown @ 2183:13a8bbf256dd

mod_storage_xmlarchive: Pass a default namespace to xmppstream so result items default to xmlns = nil (fixes non-mam use, like mod_mam_muc sending history)
author Kim Alvefur <zash@zash.se>
date Fri, 27 May 2016 18:25:17 +0200
parents def6290a8cd1
children c5c583fae25d
line wrap: on
line source

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

# Summary

Sometimes it is useful to get the raw XML logs from clients for
debugging purposes, but some clients 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.