ejabberd - Comments for "mod_muc_log : can&amp;#039;t get any log" https://www.ejabberd.im/node/2997 en I have configured in my https://www.ejabberd.im/node/2997#comment-61554 <p>I have configured in my personal computer. its working fine.</p> <p>Same configureation done in my server, it's not working.</p> <p>Need help</p> Wed, 18 Sep 2013 13:22:20 +0000 karthikeyan comment 61554 at https://www.ejabberd.im anybody help for this https://www.ejabberd.im/node/2997#comment-61552 <p>anybody help for this topic.</p> <p>I have configured in my personal computer. its working fine.</p> <p>Same configureation done in my server, it's not working.</p> <p>Need help</p> Wed, 18 Sep 2013 13:18:52 +0000 karthikeyan comment 61552 at https://www.ejabberd.im > If ejabberd can't log https://www.ejabberd.im/node/2997#comment-54521 <p>&gt; If ejabberd can't log chatrooms, conferences etc to "outdir" We will move to something else.</p> <p>The author of that ultimatum later said in <noindex><a href="http://lists.jabber.ru/pipermail/ejabberd/2009-July/005165.html" rel="nofollow" >a thread in the mailing list</a></noindex>:</p> <p>&gt; The root cause of the problem seems to be that the system user that runs ejabberd does not have write access in that dir.</p> Mon, 03 Aug 2009 10:37:12 +0000 mfoss comment 54521 at https://www.ejabberd.im mod_muc_log issues https://www.ejabberd.im/node/2997#comment-54508 <p>Hi,<br /> I think I agree with this user. There has to be a clearer explanation for this. Enabling chatroom logging from a muc supported client has worked for me but it logs this information on the client system. One would think that that "{outdir, "/var/www/muclogs"}," directs the logs to that location but it has not worked for me.<br /> Am I missing something here? See my mod_muc_log section below</p> <p>{modules,<br /> [<br /> ....<br /> {mod_muc_log,[<br /> {access_log, muc_admin},<br /> {allow_room_log, true},<br /> {outdir, "/var/www/muclogs"},<br /> {dirtype, plain},<br /> {timezone, universal},<br /> {top_link, {"http://www.jabber.ru/", "Jabber.ru"}}<br /> ]},<br /> ....<br /> ]},</p> <p>This is one of the deal makers or breakers in adopting this in our office. If ejabberd can't log chatrooms, conferences etc to "outdir" We will move to something else.<br /> Any help, assistance or direction will be appreciated.</p> <p>Thanks<br /> Augustine</p> Fri, 31 Jul 2009 07:57:32 +0000 augustineike comment 54508 at https://www.ejabberd.im The HTML file and the https://www.ejabberd.im/node/2997#comment-54484 <p>The HTML file and the directories are created by ejabberd only when a room is configured to log messages, and somebody chats in that room.</p> <p>Also remember this:<br /> "Note that, by default, chatrooms are not logged. You must enable the option in the chatroom. For that you can use a Jabber client that supports MUC (like Psi, Gajim or Tkabber)."</p> Wed, 22 Jul 2009 22:26:15 +0000 mfoss comment 54484 at https://www.ejabberd.im same problem https://www.ejabberd.im/node/2997#comment-54469 <p>I am also tried this, but not creating chat log file. There is no error file in ejabberd.log and sasl.log file. Could you please tell me the steps to enable the mod_muc_log. i refered this <noindex><a href="http://www.process-one.net/en/ejabberd/guide_en#htoc45" title="http://www.process-one.net/en/ejabberd/guide_en#htoc45" rel="nofollow" >http://www.process-one.net/en/ejabberd/guide_en#htoc45</a></noindex></p> Fri, 17 Jul 2009 07:21:44 +0000 edwindew comment 54469 at https://www.ejabberd.im Check log files. Enable the option in the chatroom https://www.ejabberd.im/node/2997#comment-52325 <p>I guess in your ejabberd.cfg you added mod_muc_log inside of the 'modules' section, like this:</p> <pre>{modules, [ ... {mod_muc_log, [ {access_log, muc}, {cssfile, false}, {dirtype, subdirs}, {outdir, "/var/www/muclogs"}, {timezone, local} ]}, ... ]}.</pre><p> You should check ejabberd log files (ejabberd.log and sasl.log) because maybe they report some error during ejabberd start, or when a user chats in a room and the server attempts to create the log file.</p> <p>Note that, by default, chatrooms are not logged. You must enable the option in the chatroom. For that you can use a Jabber client that supports MUC (like Psi, Gajim or Tkabber).</p> <p>It is also possible to define that logging for new chatrooms is enabled by default. Read the ejabberd Guide for more on this possibility.</p> Sun, 04 May 2008 16:14:24 +0000 mfoss comment 52325 at https://www.ejabberd.im