Closed MAXDARK closed 10 years ago
Not sure, may be nginx has such a filter.
It doesn't, at least researching it, there is no easier way to do this other than on the module !
You can try "conditional logging" feature http://nginx.org/en/docs/http/ngx_http_log_module.html
Hello,
Is there a way for you make a variable that can be used inside vhost settings, to avoid logging to access_log, all the entries which have $testcookie_ok != 'yes' ?
It would help with log load, this way not recording the log entries generated by bots.
Thank You !