Software /
code /
prosody-modules
File
mod_muc_log/README.wiki @ 1787:663e5d923ef0
mod_s2s_log_certs: Use new 0.10 API for wrapping event handlers in order to always print log message after all s2s cert checks
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 25 Aug 2015 16:58:39 +0200 |
parent | 1782:29f3d6b7ad16 |
line wrap: on
line source
#summary Log chatroom messages to disk #labels Stage-Beta = Introduction = 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_http]. = Details = mod_muc_log must be loaded individually for the components that need it. Assuming you have a MUC component already running on conference.example.org then you can add muc_log to it like so: {{{ Component "conference.example.org" "muc" modules_enabled = { "muc_log"; } }}} 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 }}} = Compatibility = || 0.6 || Works || || 0.7 || Works || || 0.8 || Works || || 0.9 || Works || *Note* that per-room configuration only works in 0.9+.