Welcome! Log In Create A New Profile

Advanced

nginx logfile rotation

Ray
September 02, 2009 05:49PM
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.
SubjectAuthorPosted

nginx logfile rotation

RaySeptember 02, 2009 05:49PM

Re: nginx logfile rotation

Jim OhlsteinSeptember 02, 2009 05:49PM

Re: nginx logfile rotation

RaySeptember 02, 2009 05:49PM

Re: nginx logfile rotation

Jim OhlsteinSeptember 02, 2009 05:49PM

Re: nginx logfile rotation

RaySeptember 02, 2009 05:49PM

Re: nginx logfile rotation

Jim OhlsteinSeptember 02, 2009 05:49PM

Re: nginx logfile rotation

Cliff WellsSeptember 02, 2009 05:49PM

Re: nginx logfile rotation

张立冰September 02, 2009 05:49PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 184 on July 08, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready