There is no need to kill nginx. Use logrotate or something.<br><br><br><div class="gmail_quote">On Dec 5, 2007 7:41 PM, Mansoor Peerbhoy &lt;<a href="mailto:mansoor@zimbra.com">mansoor@zimbra.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hello Igor,<br><br>I have a question. What&#39;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&#39;t restart it very frequently.<br><br>Are there any alternatives to simply killing the NGINX process, zipping up the error log, and then restarting NGINX ?
<br><br>Regards,<br><font color="#888888">Mansoor<br><br><br></font></blockquote></div><br>