Nginx without access log

etrader nginx-forum at nginx.us
Fri Dec 2 06:48:21 UTC 2011


As I explored, simply removing access_log and error_log from nginx
configuration makes the process for nginx more complicated; thus, it
takes more time to complete the request. Instead, error_log should be
turned off by
error_log /dev/null crit;

but how to turn off the access log?

And what is the best configuration to force nginx to conduct the main
requests without dealing with side process (like creating logs). I want
to compare the very basic action of nginx.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,219454,219455#msg-219455



More information about the nginx mailing list