News for hackers. Stuff that matters.
Re:Taobao's branch of Nginx by tszming on Tuesday November 13, 2012 @05:05AM (#4777262)
>> 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)

Re:Taobao's branch of Nginx by ck2 on Tuesday November 13, 2012 @05:24AM (#4777285)
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.

Re:Taobao's branch of Nginx by tszming on Tuesday November 13, 2012 @05:30AM (#4777305)
You can send a USR1 signal to nginx. http://wiki.nginx.org/LogRotation