This module logs the conversations of chatrooms running on the server to Prosody’s data store.

This is a fork of mod_muc_log which uses the newer storage API. This allows you to also log messages to a SQL backend.

Changes between mod_muc_archive and mod_muc_log:

NOTE: The changes are unlikely to be entirely backwards compatible because the stanza being logged is no longer wrapped with <stanza time=...>.


mod_muc_archive must be loaded individually for the components that need it.

Assuming you have a MUC component already running on then you can add muc_archive to it like so:

Component "" "muc"
   modules_enabled = {


0.11 Works


With the plugin installer in Prosody 0.12 you can use:

sudo prosodyctl install --server= mod_muc_archive

For earlier versions see the documentation for installing 3rd party modules