<div>Thanks.<br></div><div>I found it.</div><br><div class="gmail_quote">On Tue, Jul 6, 2010 at 8:28 PM, brianmercer <span dir="ltr">&lt;<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Xin Liu Wrote:<br>
-------------------------------------------------------<br>
<div><div class="h5">&gt; Hi all,<br>
&gt;<br>
&gt; My server is Debian. And I installed nginx<br>
&gt; (0.7.67-1) to host my webpage.<br>
&gt; The problem is that, everyday on 06:25PM (New York<br>
&gt; time), nginx will<br>
&gt; generate a new log file and rename the old log<br>
&gt; file nginx.log.1.<br>
&gt; I&#39;ve checked server, there is no schedule job. And<br>
&gt; nobody restart nginx or<br>
&gt; force nginx to generate a new log.<br>
&gt; Anyone can help?<br>
<br>
</div></div>That does sound like the default behavior of Debian for cron and<br>
logrotate.  Check /etc/crontab for the 6:25AM entry:<br>
<br>
25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / &amp;&amp; run-parts<br>
--report /etc/cron.daily )<br>
<br>
and check for /etc/cron.daily/logrotate and /etc/logrotate.d/nginx.<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,105720,105875#msg-105875" target="_blank">http://forum.nginx.org/read.php?2,105720,105875#msg-105875</a><br>
<div><div class="h5"><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
</div></div></blockquote></div><br>