Welcome! Log In Create A New Profile

Advanced

Re: Problem with nginx-0.7.67 logs

Xin Liu
July 06, 2010 09:02AM
Thanks.
I found it.

On Tue, Jul 6, 2010 at 8:28 PM, brianmercer <nginx-forum@nginx.us> wrote:

> Xin Liu Wrote:
> -------------------------------------------------------
> > Hi all,
> >
> > My server is Debian. And I installed nginx
> > (0.7.67-1) to host my webpage.
> > The problem is that, everyday on 06:25PM (New York
> > time), nginx will
> > generate a new log file and rename the old log
> > file nginx.log.1.
> > I've checked server, there is no schedule job. And
> > nobody restart nginx or
> > force nginx to generate a new log.
> > Anyone can help?
>
> That does sound like the default behavior of Debian for cron and
> logrotate. Check /etc/crontab for the 6:25AM entry:
>
> 25 6 * * * root test -x /usr/sbin/anacron || ( cd / && run-parts
> --report /etc/cron.daily )
>
> and check for /etc/cron.daily/logrotate and /etc/logrotate.d/nginx.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,105720,105875#msg-105875
>
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Problem with nginx-0.7.67 logs

Xin Liu July 05, 2010 10:08PM

Re: Problem with nginx-0.7.67 logs

unclepieman July 05, 2010 10:10PM

Re: Problem with nginx-0.7.67 logs

Xin Liu July 05, 2010 10:50PM

Re: Problem with nginx-0.7.67 logs

brianmercer July 06, 2010 08:28AM

Re: Problem with nginx-0.7.67 logs

Xin Liu July 06, 2010 09:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 213
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready