annotate mod_muc_log.wiki @ 59:4410f015d570

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