access log's name

mike mike503 at
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


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/`

should work...

On 9/3/08, walt <weichenqi at> wrote:
> I want to make the access log file's name as,
>  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