Re: Safe log rotation

2014-10-02 Thread jmobile
Thanks Igor for pointing this out. If file is renamed, would it guarantee that nginx continues writing to it without interruption? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,253681,253729#msg-253729 ___ nginx mailing list nginx@nginx.org

Safe log rotation

2014-10-01 Thread jmobile
Hi, I'd like to check how nginx handles command from http://wiki.nginx.org/LogRotation kill -USR1 `cat /var/run/nginx.pid` I'm using it to recreate log files during rotation. My question if any loglines can be lost in case time interval between physical log files rotation and USR1 is large enoug