File

mod_storage_muc_log/README.wiki @ 1797:a946aa422503

mod_mam_sql/README: More obvious pointers to use mod_mam instead
author Kim Alvefur <zash@zash.se>
date Thu, 27 Aug 2015 16:14:54 +0200
parent 1782:29f3d6b7ad16
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.