Alternatively have a look here: http://www.cambus.net/log-rotation-directly-within-nginx-configuration-file/
Kind regards Lasse Laursen > On 19 May 2014, at 21:06, "samingrassia" <[email protected]> wrote: > > Thanks to everyone in advance! > > I have a cron that runs the following: > > mv $NGINX_ACCESS_LOG $ACCESS_LOG_DROPBOX/$LOG_FILENAME > kill -USR1 `cat $NGINX_PID` > > My questions is during time between the mv and the kill, is there any log > writes that are being discarded or are they being stacked in memory and > dumped into the new access.log after it is recreated? > > Thanks! > > Sam > > Posted at Nginx Forum: > http://forum.nginx.org/read.php?2,250214,250214#msg-250214 > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
