Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Interesting, so to rotate nginx logs do you have to restart nginx?

I always though piped logging was required to rotate logs without restart.

I love the graceful restart and even the replace the executable on the fly nginx has.



You can send a USR1 signal to nginx. http://wiki.nginx.org/LogRotation




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: