Welcome! Log In Create A New Profile

Advanced

Re: Safe log rotation

October 02, 2014 03:26AM
On 02 Oct 2014, at 11:08, oscaretu . <oscaretu@gmail.com> wrote:

> I think you should remove the line:
>
> sleep 15
>
> It doesnt' anything useful, It just delay the restart, so during 15 seconds the request will end been registered in the old log file

Of course this sleep is not required, it is just to see that nothing is lost during the sleep.


--
Igor Sysoev
Join us for nginx.conf 2014, October 20-22, San Francisco.
Get 25% off with code NGINXUG: http://nginx.com/nginxconf/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Safe log rotation

jmobile October 01, 2014 05:30PM

Re: Safe log rotation

Igor Sysoev October 02, 2014 02:40AM

Re: Safe log rotation

oscaretu . October 02, 2014 03:10AM

Re: Safe log rotation

Igor Sysoev October 02, 2014 03:26AM

Re: Safe log rotation

jmobile October 02, 2014 05:31PM

Re: Safe log rotation

Igor Sysoev October 03, 2014 12:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
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