I've recently taken over as Sysadmin of a site, and the first thing I noticed was that there were two Nginx
access_new.log, and they were both being written to.
Looking around the configuration I could see that in the
http section of
nginx.conf it defined
access.log as the
access_log, and in the
sites-enabled/mysite configuration it defined
access_new.log as the log. I am curious as to why both of these logs would b written to: surely the configuration for the site would override the default config?