view mod_muc_log/README.markdown @ 1880:a7c1f1b6ef05

mod_checkcerts: Improve error handling when loading certificate
author Kim Alvefur <>
date Tue, 29 Sep 2015 14:56:46 +0200
parents 79b9bd84b91c
children 14f62b971160
line wrap: on
line source

- 'Stage-Beta'
summary: Log chatroom messages to disk


This module logs the conversation of chatrooms running on the server to
Prosody's data store. To view them you will need a module such as


mod\_muc\_log must be loaded individually for the components that need
it. Assuming you have a MUC component already running on then you can add muc\_log to it like so:

    Component "" "muc"
       modules_enabled = {

Logging is not enabled by default. In 0.9+ logging can be enabled per
room in the room config form.

To enable logging in older versions, or to enable logging by default for
all rooms, set

    muc_log_by_default = true -- Log all rooms by default


  ----- -------
  0.6   Works
  0.7   Works
  0.8   Works
  0.9   Works
  0.6   Works
  ----- -------

**Note** that per-room configuration only works in 0.9+.