view mod_storage_muc_log.wiki @ 514:9427318ae72d default tip

added page for mod_delegation
author Goffi <goffi@goffi.org>
date Thu, 07 May 2015 23:31:20 +0200
parents fb9e558dd1df
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.