How to use the gzip format for access_log in the new 1.3.10?

Lorenzo Raffio multiformeingegno at
Wed Dec 26 00:26:17 UTC 2012

Thanks Valentin!

*access_log /var/www/blahblah/logs/access.log combined gzip; worked :)*

**Last question: what does the flush variable do? Does it specify for
how much times to keep the logs?

2012/12/26 Lorenzo Raffio <multiformeingegno at>

> Guys I updated from nginx 1.3.9 to 1.3.10, edited my access_log line and
> here it is now:
> *access_log /var/www/blahblah/logs/access.log gzip buffer=32k;*
> Unfortunately when I restart nginx I get this error:
> nginx: [emerg] unknown log format "gzip"
> What am I doing wrong?
> Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list