Safe log rotation
Igor Sysoev
igor at sysoev.ru
Thu Oct 2 07:24:38 UTC 2014
On 02 Oct 2014, at 11:08, oscaretu . <oscaretu at 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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20141002/d186712f/attachment-0001.html>
More information about the nginx
mailing list