logrotate (?) screws it badly

Ralph Seichter ralph at ml.seichter.de
Fri Oct 6 08:40:35 UTC 2023


* lejeczek via nginx:

> For after logs got rotated Nginx logs into:
> access.log.1 & error.log.1
> and now as it should, you know
> access.log & error.log

You may want to try logrotate's "copytruncate" option.

-Ralph


More information about the nginx mailing list