nginx logfile rotation

Ray gunblad3 at gmail.com
Tue Sep 1 05:58:59 MSD 2009


Am trying to configure for logfile rotation using logrotate with nginx
(0.7.61).  As the logrotate script runs, the old logfile is renamed and a
new one is created, but nginx still writes to the old (renamed) logfile even
with open_log_file_cache set to off according to
http://wiki.nginx.org/NginxHttpLogModule#open_log_file_cache

Is there anything that I'm missing out?

Ray.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20090901/8a596485/attachment.html>


More information about the nginx mailing list