Hi all.
I'm trying to configure mod_muc_log but I have some problems...I'm not sure that what I want to do is possible or not.
I would enjoy :
- Loging if the chatroom is public or invite only.
- Loging the number of actual users on the chatroom.
Is it possible with mod_muc_log ?
About automatic loging :
I rode the docs and what I understud is that the owner of the chatroom have to enable loging for the chatroom...is there any solution to automaticaly enabling loging ?
Thanks by advance for answers.
partially possible
Loging if the chatroom is public or invite only.
That information is already logged, just click on 'Room Configuration' at the top of any html file.
Loging the number of actual users on the chatroom.
Is it possible with mod_muc_log ?
Not implemented, but maybe possible.
About automatic loging :
I rode the docs and what I understud is that the owner of the chatroom have to enable loging for the chatroom...is there any solution to automaticaly enabling loging ?
Not implemented. Solutions:
and change to
Yeah thanks for your quick
Yeah thanks for your quick answers !
But I have few more questions...sorry.
Is it possible to disable chat loging ? I only want to log infos about rooms, names, titles, configuration, but not users chats in the rooms.
Ok I finaly upgraded my
Ok I finaly upgraded my system and ejabberd afters few tests on another station.
I'm now running ejabberd 1.1.1-8.
I aded thoses lines in the .cfg in the modules section:
{mod_muc_log, [{access_log, muc},
{outdir, "/var/www/muclogs"},
{dirtype, plain},
{timezone, universal},
{top_link, {"http://www.mydomain.com", "mydomain.com"}}
]},
The muclogs directory exist, the owner is user ejabberd.
I restarted the server but I have this kind or errors in the logs when creating chatrooms:
=ERROR REPORT==== 2006-12-05 01:21:42 ===
E(<0.332.0>:mod_muc_log:140): {{case_clause,{error,eacces}},
[{mod_muc_log,add_message_to_log,5},
{mod_muc_log,handle_cast,2},
{gen_server,handle_msg,6},
{proc_lib,init_p,5}]}
I have to admit that I c'ant imagine what is this prob...
Eccept this, the ejabberd server is realy runing well...no other probs.
Sincerely.
mod_muc_log : prob solved.
I upgraded ejabberd, my system is running 1.1.2-4 release now (coming from feisty fawn Ubuntu repositories...I don't have problems with erlang)
And I solved the prob...stupid mistake on muclogs directory rights.
Sorry for the noise.
But I would enjoy to have a workaround or a config option to log infos about the rooms but to not log users chats. I only need to log date and time creation for the chatroom, chatroom JID, chatroom title, config options for the chatroom and number of users in the chatroom.
It's usefull to display chatrooms status in a wabpage...while it's not always useful to log users dialogs on the chatrooms.
Sincerely.