Disable access logging?

Dennis J. dennisml at conversis.de
Fri Jan 8 07:56:35 MSK 2010


On 01/08/2010 04:42 AM, Steve wrote:
>
> -------- Original-Nachricht --------
>> Datum: Thu, 07 Jan 2010 22:32:17 -0500
>> Von: "SnakeV"<nginx-forum at nginx.us>
>> An: nginx at nginx.org
>> Betreff: Disable access logging?
>
>> Hello,
>>
>> How can disable access_logs in nginx, i have a site with a lot of request
>> and access_log increments a lot of GB daily.
>>
> How about reading documentation?
>
> access_log off;
>
> http://wiki.nginx.org/NginxHttpLogModule#access_log

Why is it that "access_log off" turns off logging but "error_log off" 
creates a logfile "off"? This seems very inconsistent to me and a trap a 
user can *very* easily fall into if he's not familiar with this quirky 
behaviour.

Regards,
   Dennis




More information about the nginx mailing list