Safe log rotation

Igor Sysoev igor at
Thu Oct 2 07:24:38 UTC 2014

On 02 Oct 2014, at 11:08, oscaretu . <oscaretu at> 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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list