Mercurial > prosody-wiki
annotate mod_muc_log.wiki @ 88:5ba104fb183e
added description for showJoin and showStatus
author | t.ephraim |
---|---|
date | Mon, 09 Nov 2009 17:18:05 +0000 |
parents | 3fe2370b1c85 |
children | df513425de29 |
rev | line source |
---|---|
59 | 1 #summary Module which logs muc conversations to a file |
71
87bba9ac5896
removed folder config option. isn't needed anymore, cause we use datamanager to store the logging stuff.
t.ephraim
parents:
70
diff
changeset
|
2 #labels Stage-Beta |
59 | 3 |
4 = Introduction = | |
5 | |
6 This module logs the conversation of muc running on this server to a daily changing file. | |
7 There is a file per room. | |
8 | |
9 = Details = | |
10 | |
11 Here is a example config with just the muclogging parts added to the right sections: | |
12 {{{ | |
62 | 13 component "rooms.example.com" "muc" |
63 | 14 modules_enabled = { |
15 "muc_log"; | |
16 } | |
17 | |
59 | 18 muc_log = { |
19 http_port = 5290; | |
88 | 20 showJoin = false; -- default is true |
21 showStatus = false; -- default is true | |
59 | 22 } |
23 }}} | |
24 | |
25 The http server part would then be reachable at the url: | |
26 {{{ | |
27 http://example.com:5290/muc_log/ | |
28 }}} | |
29 | |
88 | 30 showJoin sets the default for showing joins or leaves. |
31 showStatus sets the default for showing status changes. | |
32 | |
59 | 33 = TODO = |
73 | 34 * log/output bans correctly |
86 | 35 * show a nice errormessage when lfs is not installed |
87 | 36 * let the admin choose to enable logging via room config |
64 | 37 * testing testing |