comparison mod_muc_log/README.wiki @ 1782:29f3d6b7ad16

Import wiki pages
author Kim Alvefur <zash@zash.se>
date Mon, 24 Aug 2015 16:43:56 +0200
parents
children
comparison
equal deleted inserted replaced
1781:12ac88940fe3 1782:29f3d6b7ad16
1 #summary Log chatroom messages to disk
2 #labels Stage-Beta
3
4 = Introduction =
5
6 This module logs the conversation of chatrooms running on the server to Prosody's data store. To view them you will need a module such as [mod_muc_log_http].
7
8 = Details =
9
10 mod_muc_log must be loaded individually for the components that need it. Assuming you have a MUC component already running on conference.example.org then you can add muc_log to it like so:
11
12 {{{
13 Component "conference.example.org" "muc"
14 modules_enabled = {
15 "muc_log";
16 }
17 }}}
18
19 Logging is not enabled by default. In 0.9+ logging can be enabled per room in the room config form.
20
21 To enable logging in older versions, or to enable logging by default for all rooms, set
22
23 {{{
24 muc_log_by_default = true -- Log all rooms by default
25 }}}
26
27
28 = Compatibility =
29 || 0.6 || Works ||
30 || 0.7 || Works ||
31 || 0.8 || Works ||
32 || 0.9 || Works ||
33
34 *Note* that per-room configuration only works in 0.9+.