How to disable nginx logs completely

Edho P Arief edhoprima at gmail.com
Tue Jan 6 06:55:23 MSK 2009


On Tue, Jan 6, 2009 at 5:16 AM, jeff emminger <jemminger at gmail.com> wrote:
> On Mon, Jan 5, 2009 at 4:43 PM, Joe Aston <joe at joeaston.com> wrote:
>> Sorry. Try this:
>>
>> error_log /var/log/nginx/error_log crit;
>>
>> (critical errors only - lowest option available)
>>
>
> Why not
>  error_log /dev/null;
>
>

or this?

error_log /dev/null crit;

-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org





More information about the nginx mailing list