# HG changeset patch # User t.ephraim # Date 1255903080 0 # Node ID 1dd6406d8fabc65df1ae8d6d5e7db79d70ddf69d # Parent 844b878a31f92042d7b279f06f7b3f8bca817239 Edited wiki page through web user interface. diff -r 844b878a31f9 -r 1dd6406d8fab mod_muclogging.wiki --- a/mod_muclogging.wiki Sun Oct 18 13:30:23 2009 +0000 +++ b/mod_muclogging.wiki Sun Oct 18 21:58:00 2009 +0000 @@ -8,29 +8,22 @@ = Details = -To enable it, you will need to configure a logFolder at the muc component, which should log. -e.g. +Here is a example config with just the muclogging parts added to the right sections: {{{ -Component "rooms.example.com" "muc" - logFolder = "/var/log/prosody/rooms" +host "*" + muclogging = { + folder = "/var/log/prosody/rooms"; + http_port = 5290; + } + +component "rooms.example.com" "muc" + logging = true; }}} -In this folder will then created files in form of YearMonthDay_RoomJid.log -e.g.: +The http server part would then be reachable at the url: {{{ -091015_foobar@rooms.example.com.log -}}} - -The content of the logfile are the presence and message stanza's which depend to this room. -They are wrapped around by a tag with an additional time attribute. -That should make it possible to create nice output in every way. -e.g.: -{{{ - -test -Ephraim - +http://example.com:5290/muclogging/ }}} = TODO = - * create a simple php script to format the log so the output is more human readable + * testing testing \ No newline at end of file