How to disable nginx logs completely

jeff emminger jemminger at gmail.com
Tue Jan 6 01:16:36 MSK 2009


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;





More information about the nginx mailing list