What is the best way to rotate NGINX log files ?

Rapsey rapsey at gmail.com
Wed Dec 5 21:49:45 MSK 2007

There is no need to kill nginx. Use logrotate or something.

On Dec 5, 2007 7:41 PM, Mansoor Peerbhoy <mansoor at zimbra.com> wrote:

> Hello Igor,
> I have a question. What's the best way to rotate the NGINX log file ? We
> run NGINX as a Mail Proxy, and the log file grows quite large because we
> don't restart it very frequently.
> Are there any alternatives to simply killing the NGINX process, zipping up
> the error log, and then restarting NGINX ?
> Regards,
> Mansoor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20071205/76ffaeec/attachment.html>

More information about the nginx mailing list