Flush access log buffer

lists at lazygranch.com lists at lazygranch.com
Sat Feb 24 02:54:48 UTC 2018


On Thu, 22 Feb 2018 18:40:12 -0800
"lists at lazygranch.com" <lists at lazygranch.com> wrote:

> When I was using FreeBSD, the access log was real time. Since I went
> to Centos, that doesn't seem to be the case. Is there some way to
> flush the buffer?
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

I found a flush=x option on the command line. I set it for 1m for
testing. Note that you need to specify a buffer size else nginx will
choke.



More information about the nginx mailing list