Sometimes it is useful to get the raw XML logs from clients for debugging purposes, but some clients don’t expose this.
This module logs dumps everything sent and received into debug logs, for debugging purposes.
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_rawdebug
For earlier versions see the documentation for installing 3rd party modules