view mod_storage_muc_log/README.wiki @ 1800:669d1208221a

mod_storage_lmdb: Remove redundant table
author Kim Alvefur <zash@zash.se>
date Fri, 28 Aug 2015 00:38:19 +0200
parents 29f3d6b7ad16
children
line wrap: on
line source

#summary Storage module using mod_muc_log data with new stanza archive API
#labels Stage-Alpha,ArchiveStorage

= Introduction =

[mod_muc_log] provided logging of chatrooms running on the server to Prosody's data store. This module gives access to this data using the 0.10+ stanza archive API, allowing legacy log data to be used with [mod_mam_muc] and [mod_http_muc_log].

= Details =

Replace mod_muc_log (and mod_muc_log_http) in your config with

{{{
Component "conference.example.org" "muc"
	modules_enabled = {
		-- "muc_log"; -- functionality replaced by mod_mam_muc + mod_storage_muc_log
		"mam_muc"; -- Does logging to storage backend configured below

		-- "muc_log_http"; -- Replaced by the mod_http_muc_log
		"http_muc_log";
	}
	storage = {
		muc_log = "muc_log";
	}
}}}

= Compatibility =

Requires Prosody 0.10 or above.