access log's name
mike
mike503 at gmail.com
Wed Sep 3 11:25:09 MSD 2008
use a logrotation tool, and send a kill -USR1 to nginx which tells it
to reopen the logfiles again
i.e.
mv image.test.com_access_log image.test.com_access_log.2008-09-04 (or
whatever today's date is/was)
kill -USR1 `cat /var/run/nginx.pid`
should work...
On 9/3/08, walt <weichenqi at gmail.com> wrote:
> I want to make the access log file's name as image.test.com_access.date,
> for example, image.test.com_access.2008-09-03,tomorrow
> will be image.test.com_access.2008-09-04.what should I do
> ?thank you!
>
More information about the nginx
mailing list