Hacker News new | comments | show | ask | jobs | submit login

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 | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: