Quick question about using kill -USR1 to recreate access.log
nginx-forum at nginx.us
Mon May 19 19:06:06 UTC 2014
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?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,250214,250214#msg-250214
More information about the nginx