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

Valentin V. Bartenev vbart at
Tue Dec 25 23:24:53 UTC 2012

On Wednesday 26 December 2012 03:16:51 Lorenzo Raffio wrote:
> 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.

You forgot to specify log format ("gzip" is not log format).

 wbr, Valentin V. Bartenev


More information about the nginx mailing list