On Thu, Sep 26, 2019 at 06:22:41AM -0400, krishna wrote:
Hi there,
> I have configured access_log and error_log at https block level and
> sometimes(like after log rotation), could see the logs are with 0 bytes
> (which means, nothing logged though it serves the requests and application
> is accessible).
What, specifically, do you mean by "log rotation"?
If it involves renaming or deleting a file without telling nginx that
the filehandle should be closed and reopened, then it is possible that
nginx is still happily logging to the old filehandle.
f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx