mod_logxml not rotating

hi,

I have configured mod_logxml on ejabberd 2.0.11 and its working fine as far as logging is concerned. But there is some problem with the rotation. I want the log to rotate after every 1 day but its not happening. What is the problem ? is the module okay ?

Below is the configuration of the module I have set.

{mod_logxml, [
     {stanza, [message, other]},
     {direction, [internal, vhosts, external]},
     {orientation, [recv]},
     {logdir, "/var/jabber/logs/"},
     {timezone, local},
     {show_ip, true},  % To enable this option you need ejabberd 2.0.0 or newer
     {rotate_days, 1},
     {rotate_megs, no},
     {rotate_kpackets, no},
     {check_rotate_kpackets, 1}
  ]}

an urgent help is really appreciated.

Thanks.

Syndicate content