view mod_muc_log.wiki @ 69:6cdf5b92d21c

updated the TODOs
author t.ephraim
date Wed, 21 Oct 2009 08:40:22 +0000
parents 8e2020b86c84
children 994ecad6c623
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 =
  * add current title to the output
  * show a better errormessage on invalid requests
  * differ between join and status changes to online
  * out kicks or bans correctly
  * use datamanager for save and restore logged data
  * testing testing