Quick question about using kill -USR1 to recreate access.log
Valentin V. Bartenev
vbart at nginx.com
Tue May 20 08:04:33 UTC 2014
On Tuesday 20 May 2014 09:52:09 Lasse Laursen wrote:
> Alternatively have a look here:
This is a bad way to solve the problem.
1. It introduces two additional open()/close() system calls per access_log
per request (not to mention all regexp and variables processing);
2. It unnecessarily complicates nginx configuration, which is intended to
stay clear and simple.
What is the problem with log rotation tools? Why even is someone even trying
to avoid using them?
wbr, Valentin V. Bartenev
More information about the nginx