Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

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

$
0
0
Oh, I was forgetting: is there a way to globally set to gzip access_log?
Cause I have a lot of websites and it will be better to set this globally
instead of manually changing access_log line for every vhost :)


2012/12/26 Lorenzo Raffio <multiformeingegno@gmail.com>

> 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@gmail.com>
>
>> 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.
>>
>
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>