configuring mod_muc_log

I'm running the linux binary install of 1.1.0 and trying to configure muc logging. I only see two pieces of information on this:
1) The description of mod_muc_log and its features at http://www.ejabberd.im/mod_muc_log
2) One of the last comments on the bug submission that tracked the creation of the module (http://www.jabber.ru/bugzilla/show_bug.cgi?id=10#c23)

In that comment it appears that you turn on muc logging with

{mod_muc, [{access, muc},
{access_create, muc},
{access_admin, muc_admin},
{access_log, muc},
{allow_room_log, true},
{outdir, "/var/www/muclogs"},
{dirtype, plain},
{timezone, universal},
{top_link, {"http://www.jabber.ru", "Jabber.ru"}},
{cssfile, "http://example.com/my.css"}
]},

I've done this, but I'm not seeing any logging. What I suspect is that I need to configure the chatroom to enable logging by using a client. Currently the client I know that bests configures a chatroom is JWChat, but it has no option to enable logging. If this is what I need to do, can someone recommend a client? (hopefully Mac or unix, but as this point I'd even consider windows :))

Check the ejabberd guide

You forgot to check the ejabberd guide: it contains the definitive documentation.

By the way, you don't need to specify all the options if the default values are good enought for you. For example, a typical config can be:

{mod_muc_log, [
  {outdir, "/var/www/muclogs"},
  {top_link, {"http://www.jabber.ru/", "Jabber.ru"}}
]},

Once you correctly enable the module, a new option will appear on the chatroom config form.

JWChat should be capable of that. Admin-friendly clients for *nix:

  • Tkabber: CVS version includes ad-hoc support. Try this binary: Tkabber-Starpack
  • Gajim: lacks ad-hoc
  • Psi 0.11-beta2: lacks MUC
  • Coccinella: lacks ad-hoc

thanks

Yes, somehow I missed section "A.9 mod_muc_log" in the Installation and Operations Guide.

My mistake was putting the settings under {mod_muc} instead of separately in {mod_muc_log}. Once I did that JWChat showed the configuration item when clicking on 'config'.

I also found in when using tkabber. You have to click on the 'Subject:' text to find the configuration menu on the chat screen.

It's now working great!

Syndicate content