view mod_storage_muc_log.wiki @ 494:fb9e558dd1df

add page
author Kim Alvefur <zash@zash.se>
date Tue, 18 Nov 2014 14:03:41 +0100
parents
children
line wrap: on
line source

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

= 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.