ejabberd - Comments for "mod_logxml config problem" https://www.ejabberd.im/node/687 en i has another question https://www.ejabberd.im/node/687#comment-1457 <p>How to add mod_logxml to *.bin installation of ejabberd?</p> Fri, 10 Mar 2006 08:08:11 +0000 Jagy comment 1457 at https://www.ejabberd.im New config format on version 0.2 https://www.ejabberd.im/node/687#comment-1445 <p>You are right, there was a problem with the old config format, so I've reworked all the rotate* options on version 0.2.</p> <p>If the format on 0.1 was like this:</p> <pre>{rotate, [{days, 1}]},</pre><p>you must put something like this now on 0.2:</p> <pre>{rotate_days, 1},</pre><p> I hope it's a little easier now. Check the example configuration on the page, and please report any other error you find.</p> Wed, 08 Mar 2006 10:21:19 +0000 mfoss comment 1445 at https://www.ejabberd.im ok thanks. https://www.ejabberd.im/node/687#comment-1444 <p>Thank you.</p> <p>The config file for ejabberd is very different from what I'm used to so i was not sure on the syntax.</p> <p>I'm still getting this error however.<br /> Is it anything to be concerned with?</p> <pre> =ERROR REPORT==== 2006-03-07 17:00:44 === E(&lt;0.42.0&gt;:gen_mod:46): {badarith,[{mod_logxml,start,2}, {gen_mod,start_module,3}, {lists,foreach,2}, {ejabberd_app,start,2}, {application_master,start_it_old,4}]} </pre> Wed, 08 Mar 2006 00:10:38 +0000 geniusfreak comment 1444 at https://www.ejabberd.im You are not setting the https://www.ejabberd.im/node/687#comment-1439 <p>You are not setting the rotate option correctly. Please check the example configuration included in the documentation.<br /> Instead of </p> <pre>{rotate, days, 1},</pre><p>you should put</p> <pre>{rotate, [{days, 1}]},</pre><p>Note that you can configure several rotation rules, and all of them will be enforced, for example</p> <pre>{rotate, [{days, 1}, {megs, 120}]},</pre> Tue, 07 Mar 2006 10:05:46 +0000 mfoss comment 1439 at https://www.ejabberd.im