ejabberd - Comments for "mod_logmnesia - Log user messages to mnesia." https://www.ejabberd.im/node/1005 en Yeah, this is very https://www.ejabberd.im/node/1005#comment-51136 <p>Yeah, this is very actually</p> <p>Where can I find odbc log plugin?</p> Mon, 29 Oct 2007 01:33:35 +0000 Anonymous comment 51136 at https://www.ejabberd.im sql https://www.ejabberd.im/node/1005#comment-3593 <p>what about logging to sql database?</p> Fri, 20 Apr 2007 21:43:19 +0000 kolargol comment 3593 at https://www.ejabberd.im mod_logmnesia update https://www.ejabberd.im/node/1005#comment-2178 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>What do you think of this feature request?<br /> The module accepts a new option: {purge_older_days, Days}.</p></div> <p>Done. With many other improvements :).<br /> Changelog from initial version:</p> <p>* added purge_older_days option<br /> * the time of a message writes now accurate within microseconds for proper sorting of messages recieved within a second<br /> * added ru and uk translations<br /> * added manual selective erasing of messages through web admin<br /> * added groupchat option<br /> * added sort by date in common vhost and user view<br /> * lot of bugfixes</p> Mon, 28 Aug 2006 14:42:45 +0000 malik comment 2178 at https://www.ejabberd.im Re: Tested, and it works https://www.ejabberd.im/node/1005#comment-2155 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>Tested, and it works :) I've added a page for it on Contributions: <noindex><a href="/mod_logmnesia" rel="nofollow" >mod_logmnesia</a></noindex>.</p></div> <p>Thanks :).</p> <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>Since it stores all messages for a certain day on a Mnesia table, this module is primarily intended for those Jabber servers on business that require to log their users' conversations for a certain amount of time, right?</p></div> <p>Indeed.</p> <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>After several months of use, the database will be full with several tables. Right now the tables for the oldest days are purged manually using an ejabberd_ctl command.</p></div> <p>I use following thing:<br /> # crontab -l -u ejabberd<br /> 1 7 * * * /usr/local/bin/ejabberdctl ejabberd@isc-monitor purge-old-records 356</p> <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>What do you think of this feature request?<br /> The module accepts a new option: {purge_older_days, Days}.</p></div> <p>Ok, I will try to implement this :)</p> Mon, 21 Aug 2006 06:41:19 +0000 malik comment 2155 at https://www.ejabberd.im Tested, and it works https://www.ejabberd.im/node/1005#comment-2152 <p>Tested, and it works :) I've added a page for it on Contributions: <noindex><a href="/mod_logmnesia" rel="nofollow" >mod_logmnesia</a></noindex>.</p> <p>Since it stores all messages for a certain day on a Mnesia table, this module is primarily intended for those Jabber servers on business that require to log their users' conversations for a certain amount of time, right?</p> <p>After several months of use, the database will be full with several tables. Right now the tables for the oldest days are purged manually using an ejabberd_ctl command.</p> <p>What do you think of this feature request?<br /> The module accepts a new option: {purge_older_days, Days}. Everyday, the module checks that option. If Days == false (that's the default value), then do nothing. But if Days is an integer, it calls purge_old_records(_, ["purge-old-records", Days]), so everyday the oldest days are purged automatically.</p> Sat, 19 Aug 2006 17:05:44 +0000 mfoss comment 2152 at https://www.ejabberd.im