Empty error and access log
francis at daoine.org
Fri Sep 27 05:57:07 UTC 2019
On Thu, Sep 26, 2019 at 06:13:55PM +0300, Maxim Dounin wrote:
> On Thu, Sep 26, 2019 at 06:22:41AM -0400, krishna wrote:
> > -rwxr-xr-x. 1 root root 0 Sep 25 03:13 access.log
> > -rwxr-xr-x. 1 root root 0 Sep 26 03:34 error.log
> These files are only writable by root, hence nginx worker
> processes won't be able to open these for writing after log
> rotation. You have to fix your log rotation configuration to
> create files which are writable by nginx user.
Ah, that was the part that I had missed here too.
Thanks for the extended explanation.
Francis Daly francis at daoine.org
More information about the nginx