Logrotating the log files

Jeremy Hubert jeremy at raincitystudios.com
Sat Jan 20 08:20:28 MSK 2007

I'm trying to setup logrotate to automatically rotate the log files  
every night at midnight.

When they rotate though, nginx doesn't log to the new logfile anymore  
until I restart the server.. but I'm having a hard time restarting  
the server from the logrotate config file because of sudo permissions.

So.. any tips? Has anyone else done this?


More information about the nginx mailing list