view mod_muc_log.wiki @ 66:27be871cfa46

added datamanager usage to the todo list
author t.ephraim
date Mon, 19 Oct 2009 19:07:14 +0000
parents 5e0888fc128a
children 8e2020b86c84
line wrap: on
line source

#summary Module which logs muc conversations to a file
#labels Stage-Alpha

= Introduction =

This module logs the conversation of muc running on this server to a daily changing file.
There is a file per room.

= Details =

Here is a example config with just the muclogging parts added to the right sections:
{{{
component "rooms.example.com" "muc"
   modules_enabled = {
       "muc_log";
   }

   muc_log = {
       folder = "/var/log/prosody/rooms";
       http_port = 5290;
    }
}}}

The http server part would then be reachable at the url:
{{{
http://example.com:5290/muc_log/
}}}

= TODO =
  * out the presence stanzas correct join/leave/status change
  * out muc room title changes correctly
  * out kicks or bans correctly
  * try to split html and code
  * use datamanager for save and restore logged data
  * testing testing