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

>> nginx cannot natively do piped logging?

"No, nginx will not support logging to a pipe since this is simlpy waste of CPU."

- Igor Sysoev (http://markmail.org/message/4bsjfjpg2kgsjhph)



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: