annotate mod_muclogging.wiki @ 59:4410f015d570

Created wiki page through web user interface.
author t.ephraim
date Sun, 18 Oct 2009 22:04:53 +0000
parents b823f0ee9cba
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
1 #summary Module which logs muc conversations to a file
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
2 #labels Stage-Alpha
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
3
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
4 = Introduction =
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
5
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
6 This module logs the conversation of muc running on this server to a daily changing file.
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
7 There is a file per room.
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
8
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
9 = Details =
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
10
57
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
11 Here is a example config with just the muclogging parts added to the right sections:
55
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
12 {{{
57
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
13 host "*"
58
b823f0ee9cba muclogging => muc_log
t.ephraim
parents: 57
diff changeset
14 muc_log = {
57
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
15 folder = "/var/log/prosody/rooms";
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
16 http_port = 5290;
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
17 }
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
18
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
19 component "rooms.example.com" "muc"
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
20 logging = true;
55
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
21 }}}
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
22
57
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
23 The http server part would then be reachable at the url:
55
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
24 {{{
58
b823f0ee9cba muclogging => muc_log
t.ephraim
parents: 57
diff changeset
25 http://example.com:5290/muc_log/
55
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
26 }}}
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
27
4604930cc085 mod_muclogging initial wiki
t.ephraim
parents:
diff changeset
28 = TODO =
57
1dd6406d8fab Edited wiki page through web user interface.
t.ephraim
parents: 55
diff changeset
29 * testing testing