view mod_storage_muc_log/README.wiki @ 1792:8e19b943c2cd

mod_isolate_host: Bump event hook priorities to make sure they are above the core plugins
author Kim Alvefur <zash@zash.se>
date Wed, 26 Aug 2015 18:04:55 +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.