<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>You can check whether logrotate sees/understands the asterisk's file in /etc/logrotate.d volume by looking through&nbsp;</span></div><table border="0" cellpadding="0" cellspacing="0" width="582" style="border-collapse:
 collapse;width:437pt"><tbody><tr height="58" style="height:43.5pt">
  <td height="58" class="xl72" width="582" style="height:43.5pt;width:437pt">&nbsp;/var/log/logstatus&nbsp;<br><br>You should see names of the files you plan to rotate<br>Actually you should do&nbsp;<table border="0" cellpadding="0" cellspacing="0" width="582" style="border-collapse:
 collapse;width:437pt"><tbody><tr height="58" style="height:43.5pt">
  <td height="58" class="xl72" width="582" style="height:43.5pt;width:437pt">logrotate
  -s /var/log/logstatus /etc/logrotate.conf to see these files<br><br>hope this helps<br>Dmitry Pavlenko</td></tr></tbody></table></td></tr></tbody></table><div><br></div>  <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <hr size="1">  <font size="2" face="Arial"> <b><span style="font-weight:bold;">From:</span></b> Tzafrir Cohen &lt;tzafrir.cohen@xorcom.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Asterisk Users Mailing List - Non-Commercial Discussion &lt;asterisk-users@lists.digium.com&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Thursday, May 23, 2013 11:25 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [asterisk-users] Asterisk Log rotate not working<br> </font> </div> <div class="y_msg_container"><br>On Wed, May 22, 2013 at 02:54:46PM -0400, Ahmed
 Munir wrote:<br>&gt; Jim,<br>&gt; <br>&gt; Cron and Logrotate already installed in my machine and already configured<br>&gt; as the steps you enlisted. But still logrotate is not running.<br><br>How can you tell that the logrotate cron job was run?<br><br>At what time it was configured to run? Did you see its output in the<br>logs?<br><br>And please, do make some minimal effort to RTFM and answer questions on<br>your own. Some tools for your disposal:<br><br>&nbsp; rpm -ql logrotate | grep cron<br>&nbsp; grep -i crom /var/log/messages<br><br>Cron jobs which have failed and/or had an output send a message to the<br>user who ran them (root, in your case). Is there a "sendmail" (sendmail,<br>postfix, whatever) running on the system? If so, where does root's mail<br>go to? Read it.<br><br>-- <br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Tzafrir Cohen<br>icq#16849755&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; jabber:<a
 ymailto="mailto:tzafrir.cohen@xorcom.com" href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br>+972-50-7952406&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  mailto:<a ymailto="mailto:tzafrir.cohen@xorcom.com" href="mailto:tzafrir.cohen@xorcom.com">tzafrir.cohen@xorcom.com</a><br><a href="http://www.xorcom.com/" target="_blank">http://www.xorcom.com </a> iax:<a ymailto="mailto:guest@local.xorcom.com" href="mailto:guest@local.xorcom.com">guest@local.xorcom.com</a>/tzafrir<br><br>--<br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com/" target="_blank">http://www.api-digital.com </a>--<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or
 update options visit:<br>&nbsp;  <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></div> </div> </div>  </div></body></html>