ejabberd - Comments for "mod_muc_log configuration : auto logging on creating chatrooms" https://www.ejabberd.im/node/1230 en mod_muc_log : prob solved. https://www.ejabberd.im/node/1230#comment-2678 <p>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)<br /> And I solved the prob...stupid mistake on muclogs directory rights.<br /> Sorry for the noise.</p> <p>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.<br /> It's usefull to display chatrooms status in a wabpage...while it's not always useful to log users dialogs on the chatrooms.</p> <p>Sincerely.</p> Tue, 05 Dec 2006 13:26:36 +0000 Brunus comment 2678 at https://www.ejabberd.im Yeah thanks for your quick https://www.ejabberd.im/node/1230#comment-2670 <p>Yeah thanks for your quick answers !<br /> But I have few more questions...sorry.</p> <p>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.</p> Tue, 05 Dec 2006 08:51:30 +0000 Brunus comment 2670 at https://www.ejabberd.im Ok I finaly upgraded my https://www.ejabberd.im/node/1230#comment-2672 <p>Ok I finaly upgraded my system and ejabberd afters few tests on another station.<br /> I'm now running ejabberd 1.1.1-8.<br /> I aded thoses lines in the .cfg in the modules section:</p> <p>{mod_muc_log, [{access_log, muc},<br /> {outdir, "/var/www/muclogs"},<br /> {dirtype, plain},<br /> {timezone, universal},<br /> {top_link, {"http://www.mydomain.com", "mydomain.com"}}<br /> ]},</p> <p>The muclogs directory exist, the owner is user ejabberd.</p> <p>I restarted the server but I have this kind or errors in the logs when creating chatrooms:</p> <p>=ERROR REPORT==== 2006-12-05 01:21:42 ===<br /> E(&lt;0.332.0&gt;:mod_muc_log:140): {{case_clause,{error,eacces}},<br /> [{mod_muc_log,add_message_to_log,5},<br /> {mod_muc_log,handle_cast,2},<br /> {gen_server,handle_msg,6},<br /> {proc_lib,init_p,5}]}</p> <p>I have to admit that I c'ant imagine what is this prob...</p> <p>Eccept this, the ejabberd server is realy runing well...no other probs.</p> <p>Sincerely.</p> Tue, 05 Dec 2006 08:50:47 +0000 Brunus comment 2672 at https://www.ejabberd.im partially possible https://www.ejabberd.im/node/1230#comment-2668 <div class="quote-msg"> <div class="quote-author"><em>Brunus</em> wrote:</div> <p>Loging if the chatroom is public or invite only.</p></div> <p>That information is already logged, just click on 'Room Configuration' at the top of any html file.</p> <div class="quote-msg"> <div class="quote-author"><em>Brunus</em> wrote:</div> <p>Loging the number of actual users on the chatroom.<br /> Is it possible with mod_muc_log ?</p></div> <p>Not implemented, but maybe possible.</p> <div class="quote-msg"> <div class="quote-author"><em>Brunus</em> wrote:</div> <p>About automatic loging :<br /> 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 ?</p></div> <p>Not implemented. Solutions:</p> <ul> <li> It's a small modification on ejabberd/src/mod_muc/mod_muc_room.erl Look for <pre>logging = false</pre><p>and change to</p> <pre>logging = true</pre></li> <li> Or apply <noindex><a href="http://www.jabber.ru/bugzilla/show_bug.cgi?id=253" rel="nofollow" >this patch</a></noindex> that allows to specify default chatroom options on ejabberd.cfg. </li> </ul> Mon, 04 Dec 2006 12:23:22 +0000 mfoss comment 2668 at https://www.ejabberd.im