Welcome! Log In Create A New Profile

Advanced

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

Lorenzo Raffio
December 25, 2012 07:30PM
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
Subject Author Posted

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

Lorenzo Raffio December 25, 2012 06:18PM

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

Valentin V. Bartenev December 25, 2012 06:26PM

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

Lorenzo Raffio December 25, 2012 07:28PM

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

Lorenzo Raffio December 25, 2012 07:30PM

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

Valentin V. Bartenev December 26, 2012 02:52AM

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

Valentin V. Bartenev December 26, 2012 02:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready