Mercurial > prosody-wiki
comparison mod_muc_log_http.wiki @ 412:4573bb828a4d
Component, not global
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Jan 2014 23:58:53 +0100 |
parents | 8b4e2a05f450 |
children |
comparison
equal
deleted
inserted
replaced
411:8b4e2a05f450 | 412:4573bb828a4d |
---|---|
12 = Configuration Details = | 12 = Configuration Details = |
13 | 13 |
14 You need to add muc_log_http to your global modules_enabled, and the configuration options similarly must be put into your global (server-wide) options section: | 14 You need to add muc_log_http to your global modules_enabled, and the configuration options similarly must be put into your global (server-wide) options section: |
15 | 15 |
16 {{{ | 16 {{{ |
17 Component "conference.example.com" "muc" | |
17 modules_enabled = { | 18 modules_enabled = { |
18 ..... | 19 ..... |
19 "muc_log_http"; | 20 "muc_log"; |
21 "muc_log_http"; | |
20 ..... | 22 ..... |
21 } | 23 } |
22 | 24 |
23 muc_log_http = { -- These are the defaults | 25 muc_log_http = { -- These are the defaults |
24 show_join = true; | 26 show_join = true; |
32 *show_join* sets the default for showing joins or leaves. | 34 *show_join* sets the default for showing joins or leaves. |
33 *show_status* sets the default for showing status changes. | 35 *show_status* sets the default for showing status changes. |
34 | 36 |
35 The web interface would then be reachable at the address: | 37 The web interface would then be reachable at the address: |
36 {{{ | 38 {{{ |
37 http://example.com:5280/muc_log/ | 39 http://conference.example.com:5280/muc_log/ |
38 }}} | 40 }}} |
39 | 41 |
40 | 42 |
41 = TODO = | 43 = TODO = |
42 * Log bans correctly | 44 * Log bans correctly |
43 * Let the admin choose to enable logging via room config | |
44 * Quota ~ per day ?! | 45 * Quota ~ per day ?! |
45 * Testing testing :) | 46 * Testing testing :) |