mod_stanza_debug
This module logs full stanzas to the debug log for the purposes of debugging.
To enable debugging from the point Prosody starts, add it to modules_enabled:
= {
modules_enabled -- other global modules
"stanza_debug",
}
To enable it after Prosody has already started, this can be done via admin interfaces, for example the [shell][/doc/console]:
sudo prosodyctl shell module load stanza_debug
Note: When the module is loaded after startup, only sessions that connect after this point are logged. Existing sessions are not affected.
Debugging (of new sessions) can then be disabled using:
sudo prosodyctl shell module unload stanza_debug